completely remove problematic field
This commit is contained in:
parent
1d187c2b87
commit
8fca3bc8d8
@ -335,10 +335,7 @@ export const buildingAttributesConfig = valueType<DataFieldConfig>()({ /* eslint
|
|||||||
edit: true,
|
edit: true,
|
||||||
verify: true
|
verify: true
|
||||||
},
|
},
|
||||||
building_designers: {
|
|
||||||
edit: true,
|
|
||||||
verify: true
|
|
||||||
},
|
|
||||||
designers_source_link: {
|
designers_source_link: {
|
||||||
edit: true,
|
edit: true,
|
||||||
verify: true
|
verify: true
|
||||||
|
@ -91,24 +91,7 @@ const TeamView: React.FunctionComponent<CategoryViewProps> = (props) => {
|
|||||||
user_verified_as={props.user_verified.developer_type}
|
user_verified_as={props.user_verified.developer_type}
|
||||||
verified_count={props.building.verified.developer_type}
|
verified_count={props.building.verified.developer_type}
|
||||||
/>
|
/>
|
||||||
<MultiDataEntry
|
|
||||||
title={dataFields.building_designers.title}
|
|
||||||
slug="building_designers"
|
|
||||||
value={props.building.building_designers}
|
|
||||||
mode={props.mode}
|
|
||||||
copy={props.copy}
|
|
||||||
onChange={props.onChange}
|
|
||||||
tooltip={dataFields.building_designers.tooltip}
|
|
||||||
editableEntries={true}
|
|
||||||
/>
|
|
||||||
<Verification
|
|
||||||
slug="building_designers"
|
|
||||||
allow_verify={props.user !== undefined && props.building.building_designers !== null && !props.edited}
|
|
||||||
onVerify={props.onVerify}
|
|
||||||
user_verified={props.user_verified.hasOwnProperty("building_designers")}
|
|
||||||
user_verified_as={props.user_verified.building_designers}
|
|
||||||
verified_count={props.building.verified.building_designers}
|
|
||||||
/>
|
|
||||||
<MultiDataEntry
|
<MultiDataEntry
|
||||||
title={dataFields.designers_source_link.title}
|
title={dataFields.designers_source_link.title}
|
||||||
slug="designers_source_link"
|
slug="designers_source_link"
|
||||||
|
@ -664,12 +664,6 @@ export const dataFields = { /* eslint-disable @typescript-eslint/camelcase */
|
|||||||
"Other"
|
"Other"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
building_designers: {
|
|
||||||
category: Category.Team,
|
|
||||||
title: "Who were the main designer(s)?",
|
|
||||||
tooltip: "Free text. First name, space, then Last name.",
|
|
||||||
example: ["", "", ""],
|
|
||||||
},
|
|
||||||
designers_source_link: {
|
designers_source_link: {
|
||||||
category: Category.Team,
|
category: Category.Team,
|
||||||
title: "Source links for designer(s)",
|
title: "Source links for designer(s)",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ALTER TABLE buildings DROP COLUMN IF EXISTS has_extension;
|
ALTER TABLE buildings DROP COLUMN IF EXISTS has_extension;
|
||||||
ALTER TABLE buildings DROP COLUMN IF EXISTS extension_year;
|
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 developer_type;
|
||||||
ALTER TABLE buildings DROP COLUMN IF EXISTS building_designers;
|
|
||||||
ALTER TABLE buildings DROP COLUMN IF EXISTS designers_source_link;
|
ALTER TABLE buildings DROP COLUMN IF EXISTS designers_source_link;
|
||||||
ALTER TABLE buildings DROP COLUMN IF EXISTS lead_designer_type;
|
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 designer_awards;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS has_extension boolean null;
|
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS has_extension boolean null;
|
||||||
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS extension_year smallint;
|
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 developer_type varchar;
|
||||||
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS building_designers varchar;
|
|
||||||
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS designers_source_link text[];
|
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS designers_source_link text[];
|
||||||
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS lead_designer_type 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 designer_awards boolean null;
|
||||||
|
Loading…
Reference in New Issue
Block a user