git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube...
authorSweidan Omar <TFS\sweidan.omar>
Sun, 30 Jan 2022 17:33:41 +0000 (17:33 +0000)
committerSweidan Omar <TFS\sweidan.omar>
Sun, 30 Jan 2022 17:33:41 +0000 (17:33 +0000)
server/user.jobengine.osgi.db/migrations/scripts/013_modify_ft_triggers.sql

index 78860cf208855553167947533139c7f51976ee06..5dfcc7726d941d216a2a2d9ed969d4daa28609cd 100644 (file)
@@ -2,9 +2,9 @@
 -- 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
@@ -24,9 +24,9 @@ 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;