mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-24 03:18:26 +00:00
Add imap settings
This commit is contained in:
@ -0,0 +1,14 @@
|
||||
CREATE TABLE `userimap` (
|
||||
`id` varchar(254) not null primary key,
|
||||
`uid` varchar(254) not null,
|
||||
`name` varchar(254) not null,
|
||||
`imap_host` varchar(254) not null,
|
||||
`imap_port` int,
|
||||
`imap_user` varchar(254),
|
||||
`imap_password` varchar(254),
|
||||
`imap_ssl` varchar(254) not null,
|
||||
`imap_certcheck` boolean not null,
|
||||
`created` timestamp not null,
|
||||
unique (`uid`, `name`),
|
||||
foreign key (`uid`) references `user_`(`uid`)
|
||||
);
|
@ -0,0 +1,14 @@
|
||||
CREATE TABLE "userimap" (
|
||||
"id" varchar(254) not null primary key,
|
||||
"uid" varchar(254) not null,
|
||||
"name" varchar(254) not null,
|
||||
"imap_host" varchar(254) not null,
|
||||
"imap_port" int,
|
||||
"imap_user" varchar(254),
|
||||
"imap_password" varchar(254),
|
||||
"imap_ssl" varchar(254) not null,
|
||||
"imap_certcheck" boolean not null,
|
||||
"created" timestamp not null,
|
||||
unique ("uid", "name"),
|
||||
foreign key ("uid") references "user_"("uid")
|
||||
);
|
Reference in New Issue
Block a user