From 03695a16abf5ea962e552e118093dfaaaed3d652 Mon Sep 17 00:00:00 2001 From: Arne Weiss Date: Fri, 2 Sep 2022 23:17:13 +0200 Subject: [PATCH] added fixtures --- Application/Fixtures.sql | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/Application/Fixtures.sql b/Application/Fixtures.sql index e69de29..c4f1a3f 100644 --- a/Application/Fixtures.sql +++ b/Application/Fixtures.sql @@ -0,0 +1,38 @@ + + +SET statement_timeout = 0; +SET lock_timeout = 0; +SET idle_in_transaction_session_timeout = 0; +SET client_encoding = 'UTF8'; +SET standard_conforming_strings = on; +SELECT pg_catalog.set_config('search_path', '', false); +SET check_function_bodies = false; +SET xmloption = content; +SET client_min_messages = warning; +SET row_security = off; + + +SET SESSION AUTHORIZATION DEFAULT; + +ALTER TABLE public.entries DISABLE TRIGGER ALL; + + + +ALTER TABLE public.entries ENABLE TRIGGER ALL; + + +ALTER TABLE public.schema_migrations DISABLE TRIGGER ALL; + +INSERT INTO public.schema_migrations (revision) VALUES (1662146709); + + +ALTER TABLE public.schema_migrations ENABLE TRIGGER ALL; + + +ALTER TABLE public.weekly_worktimes DISABLE TRIGGER ALL; + + + +ALTER TABLE public.weekly_worktimes ENABLE TRIGGER ALL; + +