Add migrations
This commit is contained in:
3
database/migrations/20100830202_washlistperson.down.psql
Normal file
3
database/migrations/20100830202_washlistperson.down.psql
Normal file
@@ -0,0 +1,3 @@
|
||||
--
|
||||
-- DROP/Reverse everything here
|
||||
--
|
4
database/migrations/20100830202_washlistperson.up.psql
Normal file
4
database/migrations/20100830202_washlistperson.up.psql
Normal file
@@ -0,0 +1,4 @@
|
||||
ALTER TABLE public.washlist
|
||||
ALTER COLUMN washed TYPE character varying(100);
|
||||
ALTER TABLE public.washlist
|
||||
ALTER COLUMN washed DROP NOT NULL;
|
Reference in New Issue
Block a user