- 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

@@ -22,7 +22,7 @@ CREATE TABLE users (
mail_host varchar(128) DEFAULT '' NOT NULL,
alias varchar(128) DEFAULT '' NOT NULL,
created timestamp with time zone DEFAULT now() NOT NULL,
last_login timestamp with time zone DEFAULT now() NOT NULL,
last_login timestamp with time zone DEFAULT NULL,
"language" varchar(5),
preferences text DEFAULT ''::text NOT NULL
);