feat: ✨ routing_permission routing
This commit is contained in:
parent
511e05bd54
commit
498742deb2
8 changed files with 322 additions and 0 deletions
6
migrations/20241224112057_routing_permission.up.sql
Normal file
6
migrations/20241224112057_routing_permission.up.sql
Normal file
|
@ -0,0 +1,6 @@
|
|||
-- Add up migration script here
|
||||
CREATE TABLE IF NOT EXISTS "routing_permission"(
|
||||
routing_id BIGSERIAL NOT NULL REFERENCES "routing"(id),
|
||||
permission_id BIGSERIAL NOT NULL REFERENCES "permission"(id),
|
||||
PRIMARY KEY (routing_id, permission_id)
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue