zitadel/cmd/setup/46/cockroach/00_subscribe_instance_events.sql

9 lines
570 B
MySQL
Raw Normal View History

INSERT INTO subscriptions (subscriber, aggregate_type, event_type) VALUES
('transactional-instances', 'instance', 'instance.added')
, ('transactional-instances', 'instance', 'instance.changed')
, ('transactional-instances', 'instance', 'instance.removed')
, ('transactional-instances', 'instance', 'instance.default.language.set')
, ('transactional-instances', 'instance', 'instance.default.org.set')
, ('transactional-instances', 'instance', 'instance.iam.project.set')
, ('transactional-instances', 'instance', 'instance.iam.console.set')
;