Ensure that we're connected to the Dougal database

This commit is contained in:
D. Berge
2023-05-30 17:19:23 +02:00
parent fbe0cb5efa
commit ff4f6bfd78

View File

@@ -1,3 +1,5 @@
\connect dougal
INSERT INTO public.info VALUES ('version', '{"db_schema": "0.3.12"}') INSERT INTO public.info VALUES ('version', '{"db_schema": "0.3.12"}')
ON CONFLICT (key) DO UPDATE ON CONFLICT (key) DO UPDATE
SET value = public.info.value || '{"db_schema": "0.3.12"}' WHERE public.info.key = 'version'; SET value = public.info.value || '{"db_schema": "0.3.12"}' WHERE public.info.key = 'version';