defaults in PAuser include noo/folders for import/storage separated, defaults are stored into PAUser in DB, changable in GUI, used as the defaults for new PA_User_States. Also disabled search noo, search folders as they are hard-coded in the ORM retreive anyway

This commit is contained in:
2022-01-22 23:26:14 +11:00
parent 0f4632e240
commit 2e4b1ed9d2
8 changed files with 75 additions and 45 deletions

View File

@@ -18,11 +18,13 @@ create table SETTINGS(
create table PA_USER(
ID integer,
DN varchar unique,
DEFAULT_NOO varchar,
DEFAULT_IMPORT_NOO varchar,
DEFAULT_STORAGE_NOO varchar,
DEFAULT_GROUPING varchar(16),
DEFAULT_HOW_MANY integer,
DEFAULT_SIZE integer,
DEFAULT_FOLDERS Boolean,
DEFAULT_IMPORT_FOLDERS Boolean,
DEFAULT_STORAGE_FOLDERS Boolean,
DEFAULT_FULLSCREEN Boolean,
constraint PK_PA_USER_ID primary key(ID) );