make role names unique

This commit is contained in:
nek0 2020-07-19 06:31:35 +02:00
parent 26caca500d
commit e8d7c4b840

View file

@ -35,6 +35,7 @@ initRole = mconcat
, "role_can_manage_suppliers BOOLEAN NOT NULL,"
, "role_can_manage_settings BOOLEAN NOT NULL,"
, "PRIMARY KEY (role_id)"
, "UNIQUE (role_name)"
, ")"
]