Add migration fixes

This commit is contained in:
2020-10-09 16:06:31 +02:00
parent 011619d3c3
commit aea74bef27
8 changed files with 23 additions and 7 deletions

View File

@@ -0,0 +1,3 @@
--
-- DROP/Reverse everything here
--

View File

@@ -0,0 +1,3 @@
ALTER TABLE public.washlist DROP COLUMN washed;
ALTER TABLE public.washlist
ADD COLUMN washed integer;

View File

@@ -0,0 +1,3 @@
--
-- DROP/Reverse everything here
--

View File

@@ -0,0 +1,2 @@
ALTER TABLE public.washlist
ALTER COLUMN washed SET DEFAULT -1;