summaryrefslogtreecommitdiff
path: root/db/08to09_pg.sql
diff options
context:
space:
mode:
Diffstat (limited to 'db/08to09_pg.sql')
-rw-r--r--db/08to09_pg.sql6
1 files changed, 3 insertions, 3 deletions
diff --git a/db/08to09_pg.sql b/db/08to09_pg.sql
index d9b57fb84..7aaf3a7a0 100644
--- a/db/08to09_pg.sql
+++ b/db/08to09_pg.sql
@@ -29,13 +29,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)
);