X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F46xml-to-pg.t;fp=t%2F46xml-to-pg.t;h=d9dd3277b95ed530e85743ae66571ab51d811613;hb=c0ec0e22d3f0e3852c00daac5ef5763010b410c3;hp=8d8f8a6cbec65224f324bff7d3ba46d41012f482;hpb=913fea5aff907287ac578782b0327599f2e91bc1;p=dbsrgits%2FSQL-Translator.git diff --git a/t/46xml-to-pg.t b/t/46xml-to-pg.t index 8d8f8a6..d9dd327 100644 --- a/t/46xml-to-pg.t +++ b/t/46xml-to-pg.t @@ -66,11 +66,11 @@ CREATE VIEW "email_list" ( "email" ) AS DROP TRIGGER IF EXISTS "foo_trigger"; -CREATE TRIGGER "foo_trigger" after insert ON "Basic" update modified=timestamp();; +CREATE TRIGGER "foo_trigger" after insert ON "Basic" FOR EACH row update modified=timestamp();; DROP TRIGGER IF EXISTS "bar_trigger"; -CREATE TRIGGER "bar_trigger" before insert OR update ON "Basic" update modified2=timestamp();; +CREATE TRIGGER "bar_trigger" before insert OR update ON "Basic" FOR EACH row update modified2=timestamp();; ALTER TABLE "Basic" ADD FOREIGN KEY ("another_id") REFERENCES "Another" ("id") DEFERRABLE;