31
SQL/postgres/2018121800.sql
Normal file
31
SQL/postgres/2018121800.sql
Normal file
@@ -0,0 +1,31 @@
|
||||
ALTER TABLE
|
||||
ident_switch
|
||||
RENAME COLUMN
|
||||
host
|
||||
TO
|
||||
imap_host;
|
||||
|
||||
ALTER TABLE
|
||||
ident_switch
|
||||
RENAME COLUMN
|
||||
port
|
||||
TO
|
||||
imap_port;
|
||||
|
||||
ALTER TABLE
|
||||
ident_switch
|
||||
ADD COLUMN
|
||||
smtp_host
|
||||
varchar(64);
|
||||
|
||||
ALTER TABLE
|
||||
ident_switch
|
||||
ADD COLUMN
|
||||
smtp_port
|
||||
integer
|
||||
CHECK(smtp_port > 0 AND smtp_port <= 65535);
|
||||
|
||||
ALTER TABLE
|
||||
ident_switch
|
||||
DROP COLUMN
|
||||
delimiter;
|
||||
Reference in New Issue
Block a user