From debdda011717e63945a0f6a9db6ab77b30a47079 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Tue, 25 Nov 2008 10:17:57 +0000
Subject: #1485420: remove default (and not null) for users.language column in
 DDL

---
 SQL/postgres.update.sql | 3 +++
 1 file changed, 3 insertions(+)

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

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

