From 38ba734262fb5126a994556d77d89b1d777b238b Mon Sep 17 00:00:00 2001 From: Lucas Magnus Date: Thu, 14 Sep 2023 15:42:08 -0300 Subject: [PATCH] feat: refact permissions --- backend/migrations/000024_refact_permissions.up.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 backend/migrations/000024_refact_permissions.up.sql diff --git a/backend/migrations/000024_refact_permissions.up.sql b/backend/migrations/000024_refact_permissions.up.sql new file mode 100644 index 00000000..2d3176d7 --- /dev/null +++ b/backend/migrations/000024_refact_permissions.up.sql @@ -0,0 +1,5 @@ +DELETE FROM permission WHERE ID = 2; +DELETE FROM permission WHERE ID = 6; +UPDATE permission SET name = 'Token management' WHERE ID = 3; +UPDATE permission SET name = 'Transfer internally' WHERE ID = 4; +UPDATE permission SET name = 'Transfer externally' WHERE ID = 5;