diff options
Diffstat (limited to 'db/schema.sql')
-rw-r--r-- | db/schema.sql | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/db/schema.sql b/db/schema.sql index 3f73d2325..f285922ac 100644 --- a/db/schema.sql +++ b/db/schema.sql @@ -454,11 +454,7 @@ create table user_body_permissions ( id serial not null primary key, user_id int references users(id) not null, body_id int references body(id) not null, - permission_type text not null check( - permission_type='moderate' or - -- for future expansion -- - permission_type='admin' - ), + permission_type text not null, unique(user_id, body_id, permission_type) ); |