From f4117119ffca76b0d7ff14bd1f99b607f248151b Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Fri, 28 Aug 2009 20:35:35 +1200 Subject: added the user_role table --- db/statusnet_pg.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'db/statusnet_pg.sql') diff --git a/db/statusnet_pg.sql b/db/statusnet_pg.sql index dbfd50098..672877ddf 100644 --- a/db/statusnet_pg.sql +++ b/db/statusnet_pg.sql @@ -559,3 +559,13 @@ create table config ( primary key (section, setting) ); + +create table user_role ( + + user_id integer not null /* comment 'user having the role'*/ references "user" (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) + +); -- cgit v1.2.3-54-g00ecf