mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-24 03:18:26 +00:00
Add classifier settings
This commit is contained in:
@ -0,0 +1,9 @@
|
||||
CREATE TABLE `classifier_setting` (
|
||||
`cid` varchar(254) not null primary key,
|
||||
`enabled` boolean not null,
|
||||
`schedule` varchar(254) not null,
|
||||
`category` varchar(254) not null,
|
||||
`file_id` varchar(254),
|
||||
`created` timestamp not null,
|
||||
foreign key (`cid`) references `collective`(`cid`)
|
||||
);
|
@ -0,0 +1,11 @@
|
||||
CREATE TABLE "classifier_setting" (
|
||||
"cid" varchar(254) not null primary key,
|
||||
"enabled" boolean not null,
|
||||
"schedule" varchar(254) not null,
|
||||
"category" varchar(254) not null,
|
||||
"item_count" int not null,
|
||||
"file_id" varchar(254),
|
||||
"created" timestamp not null,
|
||||
foreign key ("cid") references "collective"("cid"),
|
||||
foreign key ("file_id") references "filemeta"("id")
|
||||
);
|
Reference in New Issue
Block a user