make role names unique
This commit is contained in:
parent
26caca500d
commit
e8d7c4b840
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ initRole = mconcat
|
||||||
, "role_can_manage_suppliers BOOLEAN NOT NULL,"
|
, "role_can_manage_suppliers BOOLEAN NOT NULL,"
|
||||||
, "role_can_manage_settings BOOLEAN NOT NULL,"
|
, "role_can_manage_settings BOOLEAN NOT NULL,"
|
||||||
, "PRIMARY KEY (role_id)"
|
, "PRIMARY KEY (role_id)"
|
||||||
|
, "UNIQUE (role_name)"
|
||||||
, ")"
|
, ")"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue