From 792cb6a2c27810aedc4edc401e645dace8380b94 Mon Sep 17 00:00:00 2001
From: alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>
Date: Tue, 25 Nov 2008 10:17:57 +0000
Subject: #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
---
 roundcubemail/SQL/postgres.update.sql | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'roundcubemail/SQL/postgres.update.sql')

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;
-- 
cgit v1.2.3

