fp/services/migrations-schema/migrations/00028_remove-moddate-on-ins...

10 lines
297 B
MySQL
Raw Normal View History

2024-08-17 02:42:44 +00:00
-- A fix for the following error
-- moddatetime: cannot process INSERT events
--
-- We don't need moddatetime for INSERT events because we have column defaults set the time when the row is created.
DROP TRIGGER segment_created_at ON api.segments;
DROP TRIGGER stream_created_at ON api.streams;