mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-11 09:53:39 +00:00
6 lines
168 B
SQL
6 lines
168 B
SQL
CREATE TRIGGER reduce_instance_events
|
|
AFTER INSERT ON eventstore.events2
|
|
FOR EACH ROW
|
|
WHEN (NEW).aggregate_type = 'instance'
|
|
EXECUTE FUNCTION reduce_instance_events();
|