summaryrefslogtreecommitdiff
path: root/sql/tables/auth.role_groups_roles.sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql/tables/auth.role_groups_roles.sql')
-rw-r--r--sql/tables/auth.role_groups_roles.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/tables/auth.role_groups_roles.sql b/sql/tables/auth.role_groups_roles.sql
new file mode 100644
index 0000000..7ebab21
--- /dev/null
+++ b/sql/tables/auth.role_groups_roles.sql
@@ -0,0 +1,7 @@
+drop table auth.role_groups_roles cascade;
+
+create table auth.role_groups_roles (
+ id serial8 primary key,
+ role_group_id bigint not null references auth.role_groups(id),
+ role_id bigint not null references auth.roles(id)
+);