summaryrefslogtreecommitdiff
path: root/roundcubemail/SQL/postgres.update.sql
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-11-25 10:17:57 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-11-25 10:17:57 +0000
commit792cb6a2c27810aedc4edc401e645dace8380b94 (patch)
tree79898a5c82a03873a6c7f425f12eec4380bf2bbb /roundcubemail/SQL/postgres.update.sql
parentca986f2a321e6a4836984e2c8e652e938f63444d (diff)
#1485420: remove default (and not null) for users.language column in DDL
git-svn-id: https://svn.roundcube.net/trunk@2090 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/SQL/postgres.update.sql')
-rw-r--r--roundcubemail/SQL/postgres.update.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/roundcubemail/SQL/postgres.update.sql b/roundcubemail/SQL/postgres.update.sql
index 14fdc9753..5dae5a28a 100644
--- a/roundcubemail/SQL/postgres.update.sql
+++ b/roundcubemail/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;