mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-13 14:30:00 +00:00
chore: move the go code into a subfolder
This commit is contained in:
6
apps/api/cmd/setup/46/01-role_permissions_view.sql
Normal file
6
apps/api/cmd/setup/46/01-role_permissions_view.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
CREATE OR REPLACE VIEW eventstore.role_permissions AS
|
||||
SELECT instance_id, aggregate_id, object_id as role, text_value as permission
|
||||
FROM eventstore.fields
|
||||
WHERE aggregate_type = 'permission'
|
||||
AND object_type = 'role_permission'
|
||||
AND field_name = 'permission';
|
Reference in New Issue
Block a user