summaryrefslogtreecommitdiff
path: root/SQL/postgres.update.sql
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-11-25 10:17:57 +0000
committeralecpl <alec@alec.pl>2008-11-25 10:17:57 +0000
commitdebdda011717e63945a0f6a9db6ab77b30a47079 (patch)
tree275bbcbd12446a28c387ba9fd68e7daa76c4fd85 /SQL/postgres.update.sql
parent938e96a3e594cd96612eba53e6c81fb39b74017e (diff)
#1485420: remove default (and not null) for users.language column in DDL
Diffstat (limited to 'SQL/postgres.update.sql')
-rw-r--r--SQL/postgres.update.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/SQL/postgres.update.sql b/SQL/postgres.update.sql
index 14fdc9753..5dae5a28a 100644
--- a/SQL/postgres.update.sql
+++ b/SQL/postgres.update.sql
@@ -28,3 +28,6 @@ ALTER TABLE cache DROP session_id;
CREATE INDEX session_changed_idx ON session (changed);
CREATE INDEX cache_created_idx ON "cache" (created);
+
+ALTER TABLE users ALTER "language" DROP NOT NULL;
+ALTER TABLE users ALTER "language" DROP DEFAULT;