diff options
author | Brion Vibber <brion@pobox.com> | 2009-11-19 20:55:38 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2009-11-19 20:55:38 -0800 |
commit | 584b17a8185bc4f2b501e94b1e3c942234f0d646 (patch) | |
tree | 82096eb33bed6eb68097fcbaaac99ba78f63d1b5 /db/statusnet_pg.sql | |
parent | dc90e90fd2748f953a2d4750105817b41cafe43a (diff) |
Followup to commit 4e00ce01a9841ac055c058a4f0e221cc56eca06e: rename user_role to profile_role in update & postgres schemas
Diffstat (limited to 'db/statusnet_pg.sql')
-rw-r--r-- | db/statusnet_pg.sql | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/db/statusnet_pg.sql b/db/statusnet_pg.sql index 8dbaf8598..927925753 100644 --- a/db/statusnet_pg.sql +++ b/db/statusnet_pg.sql @@ -560,13 +560,13 @@ create table config ( ); -create table user_role ( +create table profile_role ( - user_id integer not null /* comment 'user having the role'*/ references "user" (id), + profile_id integer not null /* comment 'account having the role'*/ references profile (id), role varchar(32) not null /* comment 'string representing the role'*/, created timestamp /* not null comment 'date the role was granted'*/, - primary key (user_id, role) + primary key (profile_id, role) ); |