pgsql: update_tables_*: Added missing `NOT' to `… tid DROP NOT NULL;'. v0.6.x
authorPascal Volk <user@localhost.localdomain.org>
Sun, 15 Apr 2012 15:30:16 +0000
branchv0.6.x
changeset 548 92ef34f07da3
parent 547 5020c56f9388
child 549 44a808af6cf4
pgsql: update_tables_*: Added missing `NOT' to `… tid DROP NOT NULL;'.
pgsql/update_tables_0.5.x-0.6-dovecot-1.2.x.pgsql
pgsql/update_tables_0.5.x-0.6.pgsql
--- a/pgsql/update_tables_0.5.x-0.6-dovecot-1.2.x.pgsql	Sun Apr 15 12:54:16 2012 +0000
+++ b/pgsql/update_tables_0.5.x-0.6-dovecot-1.2.x.pgsql	Sun Apr 15 15:30:16 2012 +0000
@@ -179,7 +179,7 @@
 -- ---
 -- Quota/Service/Transport inheritance
 -- ---
-ALTER TABLE users ALTER COLUMN tid DROP NULL;
+ALTER TABLE users ALTER COLUMN tid DROP NOT NULL;
 ALTER TABLE users ALTER COLUMN tid SET DEFAULT NULL;
 -- The qid and ssid columns have already been defined accordingly above.
 -- The rest of the logic will take place in the functions.
--- a/pgsql/update_tables_0.5.x-0.6.pgsql	Sun Apr 15 12:54:16 2012 +0000
+++ b/pgsql/update_tables_0.5.x-0.6.pgsql	Sun Apr 15 15:30:16 2012 +0000
@@ -147,7 +147,7 @@
 -- ---
 -- Quota/Service/Transport inheritance
 -- ---
-ALTER TABLE users ALTER COLUMN tid DROP NULL;
+ALTER TABLE users ALTER COLUMN tid DROP NOT NULL;
 ALTER TABLE users ALTER COLUMN tid SET DEFAULT NULL;
 -- The qid and ssid columns have already been defined accordingly above.
 -- The rest of the logic will take place in the functions.