Skip to content

Commit

Permalink
add roles
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmagnus committed Feb 6, 2024
1 parent f7607cc commit f260d2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions backend/migrations/0000044_insert_roles.down.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DROP TABLE IF EXISTS Role;
3 changes: 3 additions & 0 deletions backend/migrations/0000044_insert_roles.up.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
INSERT INTO role (id, name, admin) VALUES (1, 'Admin', 1);
INSERT INTO role (id, name, admin) VALUES (2, 'Asset Manager', 0);
INSERT INTO role (id, name, admin) VALUES (3, 'Analyst', 0);

0 comments on commit f260d2e

Please sign in to comment.