From: Kilian Saffran Date: Wed, 11 Nov 2020 08:12:44 +0000 (+0100) Subject: v20201111 sql X-Git-Tag: 1.0.15 X-Git-Url: http://cloud.dks.lu/git/?a=commitdiff_plain;h=981c415188d02a340b457d22597ddcef11d82dd4;p=pot_lu.git v20201111 sql --- diff --git a/dev/db/dev/potlu2_db.brasserie_du_theatre.pg.full.sql b/dev/db/dev/potlu2_db.brasserie_du_theatre.pg.full.sql index 38da0913..9375c105 100644 --- a/dev/db/dev/potlu2_db.brasserie_du_theatre.pg.full.sql +++ b/dev/db/dev/potlu2_db.brasserie_du_theatre.pg.full.sql @@ -29,11 +29,11 @@ CREATE SCHEMA brasserie_du_theatre; CREATE FUNCTION brasserie_du_theatre.trg_before_upd_schematable() RETURNS trigger LANGUAGE plpgsql - AS $$ - begin - new.modified = now(); - RETURN NEW; - END; + AS $$ + begin + new.modified = now(); + RETURN NEW; + END; $$; diff --git a/dev/db/dev/potlu2_db.brasserie_du_theatre.pg.schema.sql b/dev/db/dev/potlu2_db.brasserie_du_theatre.pg.schema.sql index 756c1b5c..ac0a5729 100644 --- a/dev/db/dev/potlu2_db.brasserie_du_theatre.pg.schema.sql +++ b/dev/db/dev/potlu2_db.brasserie_du_theatre.pg.schema.sql @@ -29,11 +29,11 @@ CREATE SCHEMA brasserie_du_theatre; CREATE FUNCTION brasserie_du_theatre.trg_before_upd_schematable() RETURNS trigger LANGUAGE plpgsql - AS $$ - begin - new.modified = now(); - RETURN NEW; - END; + AS $$ + begin + new.modified = now(); + RETURN NEW; + END; $$; diff --git a/dev/db/dev/potlu2_db.elch.pg.full.sql b/dev/db/dev/potlu2_db.elch.pg.full.sql index 08bb6f8b..76f12305 100644 --- a/dev/db/dev/potlu2_db.elch.pg.full.sql +++ b/dev/db/dev/potlu2_db.elch.pg.full.sql @@ -29,11 +29,11 @@ CREATE SCHEMA elch; CREATE FUNCTION elch.trg_before_upd_schematable() RETURNS trigger LANGUAGE plpgsql - AS $$ - begin - new.modified = now(); - RETURN NEW; - END; + AS $$ + begin + new.modified = now(); + RETURN NEW; + END; $$; diff --git a/dev/db/dev/potlu2_db.elch.pg.schema.sql b/dev/db/dev/potlu2_db.elch.pg.schema.sql index 31b7d10b..685e2b31 100644 --- a/dev/db/dev/potlu2_db.elch.pg.schema.sql +++ b/dev/db/dev/potlu2_db.elch.pg.schema.sql @@ -29,11 +29,11 @@ CREATE SCHEMA elch; CREATE FUNCTION elch.trg_before_upd_schematable() RETURNS trigger LANGUAGE plpgsql - AS $$ - begin - new.modified = now(); - RETURN NEW; - END; + AS $$ + begin + new.modified = now(); + RETURN NEW; + END; $$; diff --git a/dev/db/dev/potlu2_db.portanova.pg.full.sql b/dev/db/dev/potlu2_db.portanova.pg.full.sql index 32febb16..a19532ba 100644 --- a/dev/db/dev/potlu2_db.portanova.pg.full.sql +++ b/dev/db/dev/potlu2_db.portanova.pg.full.sql @@ -29,11 +29,11 @@ CREATE SCHEMA portanova; CREATE FUNCTION portanova.trg_before_upd_schematable() RETURNS trigger LANGUAGE plpgsql - AS $$ - begin - new.modified = now(); - RETURN NEW; - END; + AS $$ + begin + new.modified = now(); + RETURN NEW; + END; $$; diff --git a/dev/db/dev/potlu2_db.portanova.pg.schema.sql b/dev/db/dev/potlu2_db.portanova.pg.schema.sql index 20cc8add..0d0038aa 100644 --- a/dev/db/dev/potlu2_db.portanova.pg.schema.sql +++ b/dev/db/dev/potlu2_db.portanova.pg.schema.sql @@ -29,11 +29,11 @@ CREATE SCHEMA portanova; CREATE FUNCTION portanova.trg_before_upd_schematable() RETURNS trigger LANGUAGE plpgsql - AS $$ - begin - new.modified = now(); - RETURN NEW; - END; + AS $$ + begin + new.modified = now(); + RETURN NEW; + END; $$; diff --git a/dev/db/live/potlu2_db.barto.pg.full.sql b/dev/db/live/potlu2_db.barto.pg.full.sql index b3ed9b45..8365fb47 100644 --- a/dev/db/live/potlu2_db.barto.pg.full.sql +++ b/dev/db/live/potlu2_db.barto.pg.full.sql @@ -29,11 +29,11 @@ CREATE SCHEMA barto; CREATE FUNCTION barto.trg_before_upd_schematable() RETURNS trigger LANGUAGE plpgsql - AS $$ - begin - new.modified = now(); - RETURN NEW; - END; + AS $$ + begin + new.modified = now(); + RETURN NEW; + END; $$; diff --git a/dev/db/live/potlu2_db.barto.pg.schema.sql b/dev/db/live/potlu2_db.barto.pg.schema.sql index a77c05f8..a5c993e3 100644 --- a/dev/db/live/potlu2_db.barto.pg.schema.sql +++ b/dev/db/live/potlu2_db.barto.pg.schema.sql @@ -29,11 +29,11 @@ CREATE SCHEMA barto; CREATE FUNCTION barto.trg_before_upd_schematable() RETURNS trigger LANGUAGE plpgsql - AS $$ - begin - new.modified = now(); - RETURN NEW; - END; + AS $$ + begin + new.modified = now(); + RETURN NEW; + END; $$; diff --git a/dev/db/live/potlu2_db.brasserie_du_theatre.pg.full.sql b/dev/db/live/potlu2_db.brasserie_du_theatre.pg.full.sql index 2c98a7e9..7e6a0029 100644 --- a/dev/db/live/potlu2_db.brasserie_du_theatre.pg.full.sql +++ b/dev/db/live/potlu2_db.brasserie_du_theatre.pg.full.sql @@ -29,11 +29,11 @@ CREATE SCHEMA brasserie_du_theatre; CREATE FUNCTION brasserie_du_theatre.trg_before_upd_schematable() RETURNS trigger LANGUAGE plpgsql - AS $$ - begin - new.modified = now(); - RETURN NEW; - END; + AS $$ + begin + new.modified = now(); + RETURN NEW; + END; $$; diff --git a/dev/db/live/potlu2_db.brasserie_du_theatre.pg.schema.sql b/dev/db/live/potlu2_db.brasserie_du_theatre.pg.schema.sql index acd3b616..a84ab0bd 100644 --- a/dev/db/live/potlu2_db.brasserie_du_theatre.pg.schema.sql +++ b/dev/db/live/potlu2_db.brasserie_du_theatre.pg.schema.sql @@ -29,11 +29,11 @@ CREATE SCHEMA brasserie_du_theatre; CREATE FUNCTION brasserie_du_theatre.trg_before_upd_schematable() RETURNS trigger LANGUAGE plpgsql - AS $$ - begin - new.modified = now(); - RETURN NEW; - END; + AS $$ + begin + new.modified = now(); + RETURN NEW; + END; $$; diff --git a/dev/db/live/potlu2_db.demoold.pg.full.sql b/dev/db/live/potlu2_db.demoold.pg.full.sql index 38896a78..0d02b09d 100644 --- a/dev/db/live/potlu2_db.demoold.pg.full.sql +++ b/dev/db/live/potlu2_db.demoold.pg.full.sql @@ -29,11 +29,11 @@ CREATE SCHEMA demoold; CREATE FUNCTION demoold.trg_before_upd_schematable() RETURNS trigger LANGUAGE plpgsql - AS $$ - begin - new.modified = now(); - RETURN NEW; - END; + AS $$ + begin + new.modified = now(); + RETURN NEW; + END; $$; diff --git a/dev/db/live/potlu2_db.demoold.pg.schema.sql b/dev/db/live/potlu2_db.demoold.pg.schema.sql index fa9e6e0f..1d9ddd8d 100644 --- a/dev/db/live/potlu2_db.demoold.pg.schema.sql +++ b/dev/db/live/potlu2_db.demoold.pg.schema.sql @@ -29,11 +29,11 @@ CREATE SCHEMA demoold; CREATE FUNCTION demoold.trg_before_upd_schematable() RETURNS trigger LANGUAGE plpgsql - AS $$ - begin - new.modified = now(); - RETURN NEW; - END; + AS $$ + begin + new.modified = now(); + RETURN NEW; + END; $$; diff --git a/dev/db/live/potlu2_db.elch.pg.full.sql b/dev/db/live/potlu2_db.elch.pg.full.sql index c68d1fe9..a859ff69 100644 --- a/dev/db/live/potlu2_db.elch.pg.full.sql +++ b/dev/db/live/potlu2_db.elch.pg.full.sql @@ -29,11 +29,11 @@ CREATE SCHEMA elch; CREATE FUNCTION elch.trg_before_upd_schematable() RETURNS trigger LANGUAGE plpgsql - AS $$ - begin - new.modified = now(); - RETURN NEW; - END; + AS $$ + begin + new.modified = now(); + RETURN NEW; + END; $$; diff --git a/dev/db/live/potlu2_db.elch.pg.schema.sql b/dev/db/live/potlu2_db.elch.pg.schema.sql index a2ab00b2..90769abf 100644 --- a/dev/db/live/potlu2_db.elch.pg.schema.sql +++ b/dev/db/live/potlu2_db.elch.pg.schema.sql @@ -29,11 +29,11 @@ CREATE SCHEMA elch; CREATE FUNCTION elch.trg_before_upd_schematable() RETURNS trigger LANGUAGE plpgsql - AS $$ - begin - new.modified = now(); - RETURN NEW; - END; + AS $$ + begin + new.modified = now(); + RETURN NEW; + END; $$; diff --git a/dev/db/live/potlu2_db.portanova.pg.full.sql b/dev/db/live/potlu2_db.portanova.pg.full.sql index b3ff9162..992dd28a 100644 --- a/dev/db/live/potlu2_db.portanova.pg.full.sql +++ b/dev/db/live/potlu2_db.portanova.pg.full.sql @@ -29,11 +29,11 @@ CREATE SCHEMA portanova; CREATE FUNCTION portanova.trg_before_upd_schematable() RETURNS trigger LANGUAGE plpgsql - AS $$ - begin - new.modified = now(); - RETURN NEW; - END; + AS $$ + begin + new.modified = now(); + RETURN NEW; + END; $$; diff --git a/dev/db/live/potlu2_db.portanova.pg.schema.sql b/dev/db/live/potlu2_db.portanova.pg.schema.sql index ff010920..21cb82c9 100644 --- a/dev/db/live/potlu2_db.portanova.pg.schema.sql +++ b/dev/db/live/potlu2_db.portanova.pg.schema.sql @@ -29,11 +29,11 @@ CREATE SCHEMA portanova; CREATE FUNCTION portanova.trg_before_upd_schematable() RETURNS trigger LANGUAGE plpgsql - AS $$ - begin - new.modified = now(); - RETURN NEW; - END; + AS $$ + begin + new.modified = now(); + RETURN NEW; + END; $$; diff --git a/dev/db/potlu2_db.dev.pg.full.sql b/dev/db/potlu2_db.dev.pg.full.sql index 6d6d098a..cdaadc5c 100644 --- a/dev/db/potlu2_db.dev.pg.full.sql +++ b/dev/db/potlu2_db.dev.pg.full.sql @@ -58,11 +58,11 @@ ALTER SCHEMA portanova OWNER TO potlu2_user; CREATE FUNCTION brasserie_du_theatre.trg_before_upd_schematable() RETURNS trigger LANGUAGE plpgsql - AS $$ - begin - new.modified = now(); - RETURN NEW; - END; + AS $$ + begin + new.modified = now(); + RETURN NEW; + END; $$; @@ -90,11 +90,11 @@ ALTER FUNCTION demo.trg_before_upd_schematable() OWNER TO potlu2_user; CREATE FUNCTION elch.trg_before_upd_schematable() RETURNS trigger LANGUAGE plpgsql - AS $$ - begin - new.modified = now(); - RETURN NEW; - END; + AS $$ + begin + new.modified = now(); + RETURN NEW; + END; $$; @@ -106,11 +106,11 @@ ALTER FUNCTION elch.trg_before_upd_schematable() OWNER TO potlu2_user; CREATE FUNCTION portanova.trg_before_upd_schematable() RETURNS trigger LANGUAGE plpgsql - AS $$ - begin - new.modified = now(); - RETURN NEW; - END; + AS $$ + begin + new.modified = now(); + RETURN NEW; + END; $$; diff --git a/dev/db/potlu2_db.dev.pg.schema.sql b/dev/db/potlu2_db.dev.pg.schema.sql index 75236221..bbe98626 100644 --- a/dev/db/potlu2_db.dev.pg.schema.sql +++ b/dev/db/potlu2_db.dev.pg.schema.sql @@ -50,11 +50,11 @@ CREATE SCHEMA portanova; CREATE FUNCTION brasserie_du_theatre.trg_before_upd_schematable() RETURNS trigger LANGUAGE plpgsql - AS $$ - begin - new.modified = now(); - RETURN NEW; - END; + AS $$ + begin + new.modified = now(); + RETURN NEW; + END; $$; @@ -78,11 +78,11 @@ $$; CREATE FUNCTION elch.trg_before_upd_schematable() RETURNS trigger LANGUAGE plpgsql - AS $$ - begin - new.modified = now(); - RETURN NEW; - END; + AS $$ + begin + new.modified = now(); + RETURN NEW; + END; $$; @@ -92,11 +92,11 @@ $$; CREATE FUNCTION portanova.trg_before_upd_schematable() RETURNS trigger LANGUAGE plpgsql - AS $$ - begin - new.modified = now(); - RETURN NEW; - END; + AS $$ + begin + new.modified = now(); + RETURN NEW; + END; $$;