- Set DEFAULT NULL for users.last_login

This commit is contained in:
alecpl
2010-04-28 10:34:33 +00:00
parent 0f3764e592
commit e2402ef99a
7 changed files with 51 additions and 4 deletions

View File

@@ -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;