From a34a2c6d660b98dbddfc24f548be7faf4a0b37a6 Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Mon, 6 Jun 2022 14:54:45 +0100 Subject: [PATCH] remove duplications --- app/src/api/config/dataFields.ts | 4 ---- migrations/029.team.down.sql | 1 - migrations/029.team.up.sql | 1 - 3 files changed, 6 deletions(-) diff --git a/app/src/api/config/dataFields.ts b/app/src/api/config/dataFields.ts index 8367dc14..742daab1 100644 --- a/app/src/api/config/dataFields.ts +++ b/app/src/api/config/dataFields.ts @@ -343,10 +343,6 @@ export const buildingAttributesConfig = valueType()({ /* eslint edit: true, verify: true }, - designers: { - edit: true, - verify: true - }, lead_designer_type: { edit: true, verify: true diff --git a/migrations/029.team.down.sql b/migrations/029.team.down.sql index 069aa3bc..52edb1e2 100644 --- a/migrations/029.team.down.sql +++ b/migrations/029.team.down.sql @@ -3,7 +3,6 @@ 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 index c260de5f..2e14a130 100644 --- a/migrations/029.team.up.sql +++ b/migrations/029.team.up.sql @@ -3,7 +3,6 @@ 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