add team migrations
This commit is contained in:
parent
147fcd0253
commit
db9159e24c
8
migrations/029.team.down.sql
Normal file
8
migrations/029.team.down.sql
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
ALTER TABLE buildings DROP COLUMN IF EXISTS extension_year;
|
||||||
|
ALTER TABLE buildings DROP COLUMN IF EXISTS developer_type;
|
||||||
|
ALTER TABLE buildings DROP COLUMN IF EXISTS designers;
|
||||||
|
ALTER TABLE buildings DROP COLUMN IF EXISTS designers_source_link;
|
||||||
|
ALTER TABLE buildings DROP COLUMN IF EXISTS designers;
|
||||||
|
ALTER TABLE buildings DROP COLUMN IF EXISTS lead_designer_type;
|
||||||
|
ALTER TABLE buildings DROP COLUMN IF EXISTS designer_awards;
|
||||||
|
ALTER TABLE buildings DROP COLUMN IF EXISTS awards_source_link;
|
8
migrations/029.team.up.sql
Normal file
8
migrations/029.team.up.sql
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS extension_year smallint;
|
||||||
|
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS developer_type varchar;
|
||||||
|
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS designers varchar;
|
||||||
|
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS designers_source_link text[];
|
||||||
|
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS designers varchar;
|
||||||
|
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS lead_designer_type varchar;
|
||||||
|
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS designer_awards boolean null;
|
||||||
|
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS awards_source_link text[];
|
Loading…
Reference in New Issue
Block a user