Skip to content

Commit 94ae3a5

Browse files
init] (calcom#24487)
1 parent 0757b00 commit 94ae3a5

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

  • packages/prisma/migrations/20251015211003000_add_watchlist_admin_permissions
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
INSERT INTO "RolePermission" (id, "roleId", resource, action, "createdAt")
2+
SELECT
3+
gen_random_uuid(),
4+
'admin_role',
5+
resource,
6+
action,
7+
NOW()
8+
FROM (
9+
VALUES
10+
('watchlist', 'create'),
11+
('watchlist', 'read'),
12+
('watchlist', 'update'),
13+
('watchlist', 'delete')
14+
) AS permissions (resource, action);

0 commit comments

Comments
 (0)