Updated MySQL scripts to work with new SMTP feature.

Closes #34
Closes #26
This commit is contained in:
Boris Gulay
2019-01-08 15:26:04 +03:00
parent e79ec4e45b
commit 6ba63dfe50
2 changed files with 36 additions and 4 deletions

29
SQL/mysql/2018121800.sql Normal file
View File

@@ -0,0 +1,29 @@
ALTER TABLE
ident_switch
CHANGE
host
imap_host varchar(64);
ALTER TABLE
ident_switch
CHANGE
port
imap_port int;
ALTER TABLE
ident_switch
ADD COLUMN
smtp_host
varchar(64);
ALTER TABLE
ident_switch
ADD COLUMN
smtp_port
int
CHECK(smtp_port > 0 AND smtp_port <= 65535);
ALTER TABLE
ident_switch
DROP COLUMN
delimiter;