-- Migration SQL that makes the change goes here.
-CREATE OR REPLACE TRIGGER TRG_MEDIAFILE_AFTER_INSERT after insert
-on mediafile
-referencing new as n
+CREATE OR REPLACE TRIGGER TRG_MEDIAFILE_AFTER_INSERT after INSERT
+ON mediafile
+referencing new AS n
for each row
begin atomic
end
@
-CREATE OR REPLACE TRIGGER TRG_MEDIAFILE_AFTER_DELETE after delete
-on mediafile
-referencing old as o
+CREATE OR REPLACE TRIGGER TRG_MEDIAFILE_AFTER_DELETE after DELETE
+ON mediafile
+referencing old AS o
for each row
begin atomic
DECLARE storeid BIGINT;