summaryrefslogtreecommitdiff
path: root/SQL/postgres.initial.sql
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-04-28 10:34:33 +0000
committeralecpl <alec@alec.pl>2010-04-28 10:34:33 +0000
commite2402ef99af447b7cc30d661e62450cbb04b202b (patch)
treed118c0b7429404424ff6d83d906fbe25121d21fc /SQL/postgres.initial.sql
parent0f3764e59223d8e9c87f30ce85425c00422ff25d (diff)
- Set DEFAULT NULL for users.last_login
Diffstat (limited to 'SQL/postgres.initial.sql')
-rw-r--r--SQL/postgres.initial.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/SQL/postgres.initial.sql b/SQL/postgres.initial.sql
index 5770dcc4c..e57a70637 100644
--- a/SQL/postgres.initial.sql
+++ b/SQL/postgres.initial.sql
@@ -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
);