added the user_role table
This commit is contained in:
parent
a0e41693e4
commit
f4117119ff
@ -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)
|
||||
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user