mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 08:07:32 +00:00
chore: move the go code into a subfolder
This commit is contained in:
6
apps/api/cmd/setup/46/02-instance_orgs_view.sql
Normal file
6
apps/api/cmd/setup/46/02-instance_orgs_view.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
CREATE OR REPLACE VIEW eventstore.instance_orgs AS
|
||||
SELECT instance_id, aggregate_id as org_id
|
||||
FROM eventstore.fields
|
||||
WHERE aggregate_type = 'org'
|
||||
AND object_type = 'org'
|
||||
AND field_name = 'state';
|
Reference in New Issue
Block a user