summaryrefslogtreecommitdiff
path: root/SQL/postgres.update.sql
diff options
context:
space:
mode:
Diffstat (limited to 'SQL/postgres.update.sql')
-rw-r--r--SQL/postgres.update.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/SQL/postgres.update.sql b/SQL/postgres.update.sql
index 762f5fbc7..bbfbcc9c6 100644
--- a/SQL/postgres.update.sql
+++ b/SQL/postgres.update.sql
@@ -76,3 +76,8 @@ CREATE TABLE contactgroupmembers (
created timestamp with time zone DEFAULT now() NOT NULL,
PRIMARY KEY (contactgroup_id, contact_id)
);
+
+-- Updates from version 0.4-beta
+
+ALTER TABLE users ALTER last_login DROP NOT NULL;
+ALTER TABLE users ALTER last_login SET DEFAULT NULL;