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