summaryrefslogtreecommitdiff
path: root/db/statusnet_pg.sql
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-11-18 09:20:31 -0500
committerEvan Prodromou <evan@status.net>2009-11-18 09:20:31 -0500
commitfa35dab2265aba78f7c704c34eaef4100bddfd70 (patch)
treed12a78861162672e87e0c1330133d09aff651009 /db/statusnet_pg.sql
parent1cc10aaef63830ead662d8a962373554a949c951 (diff)
parent007418fdab8f9f0c718a18568bfbf4377bb85364 (diff)
Merge branch '0.9.x' into mapstraction
Diffstat (limited to 'db/statusnet_pg.sql')
-rw-r--r--db/statusnet_pg.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/statusnet_pg.sql b/db/statusnet_pg.sql
index 7b0e5313c..8dbaf8598 100644
--- a/db/statusnet_pg.sql
+++ b/db/statusnet_pg.sql
@@ -571,11 +571,11 @@ create table user_role (
);
create table login_token (
- user_id integer not null /* comment 'user owning this token'*/ references user (id),
+ user_id integer not null /* comment 'user owning this token'*/ references "user" (id),
token char(32) not null /* comment 'token useable for logging in'*/,
created timestamp not null DEFAULT CURRENT_TIMESTAMP /* comment 'date this record was created'*/,
modified timestamp /* comment 'date this record was modified'*/,
- constraint primary key (user_id)
+ primary key (user_id)
);