Quote all identifier for MySQL/MariaDB. Closes # 54
This commit is contained in:
@@ -1,29 +1,29 @@
|
||||
ALTER TABLE
|
||||
ident_switch
|
||||
`ident_switch`
|
||||
CHANGE
|
||||
host
|
||||
imap_host varchar(64);
|
||||
`host`
|
||||
`imap_host` varchar(64);
|
||||
|
||||
ALTER TABLE
|
||||
ident_switch
|
||||
`ident_switch`
|
||||
CHANGE
|
||||
port
|
||||
imap_port int;
|
||||
`port`
|
||||
`imap_port` int;
|
||||
|
||||
ALTER TABLE
|
||||
ident_switch
|
||||
`ident_switch`
|
||||
ADD COLUMN
|
||||
smtp_host
|
||||
`smtp_host`
|
||||
varchar(64);
|
||||
|
||||
ALTER TABLE
|
||||
ident_switch
|
||||
`ident_switch`
|
||||
ADD COLUMN
|
||||
smtp_port
|
||||
`smtp_port`
|
||||
int
|
||||
CHECK(smtp_port > 0 AND smtp_port <= 65535);
|
||||
CHECK(`smtp_port` > 0 AND `smtp_port` <= 65535);
|
||||
|
||||
ALTER TABLE
|
||||
ident_switch
|
||||
`ident_switch`
|
||||
DROP COLUMN
|
||||
delimiter;
|
||||
`delimiter`;
|
||||
Reference in New Issue
Block a user