diff --git a/migrations/029.team.down.sql b/migrations/029.team.down.sql new file mode 100644 index 00000000..cdeb0385 --- /dev/null +++ b/migrations/029.team.down.sql @@ -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; \ No newline at end of file diff --git a/migrations/029.team.up.sql b/migrations/029.team.up.sql new file mode 100644 index 00000000..b9dcf467 --- /dev/null +++ b/migrations/029.team.up.sql @@ -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[]; \ No newline at end of file