summaryrefslogtreecommitdiff
path: root/db/statusnet_pg.sql
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-11-20 05:28:54 +0000
committerSarven Capadisli <csarven@status.net>2009-11-20 05:28:54 +0000
commitc34927ade520082cf988dcb2951cd188ecfbd833 (patch)
treeffd2249d3632f53bfd432b5db04b90c732bfdb9f /db/statusnet_pg.sql
parentc6e4feb815a60a7baf613026c414a24c5c918650 (diff)
parent0b750c5271da3f4c6f044d0288f64bb91e348394 (diff)
Merge branch 'master' of git@gitorious.org:statusnet/mainline
Diffstat (limited to 'db/statusnet_pg.sql')
-rw-r--r--db/statusnet_pg.sql6
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)
);