revert 68abacc685
This commit is contained in:
parent
b5812645d6
commit
b950c8909f
@ -335,10 +335,6 @@ export const buildingAttributesConfig = valueType<DataFieldConfig>()({ /* eslint
|
|||||||
edit: true,
|
edit: true,
|
||||||
verify: true
|
verify: true
|
||||||
},
|
},
|
||||||
developer_name: {
|
|
||||||
edit: true,
|
|
||||||
verify: true
|
|
||||||
},
|
|
||||||
developer_source_link: {
|
developer_source_link: {
|
||||||
edit: true,
|
edit: true,
|
||||||
verify: true
|
verify: true
|
||||||
|
@ -91,25 +91,6 @@ 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.developer_name.title}
|
|
||||||
slug="developer_name"
|
|
||||||
value={props.building.developer_name}
|
|
||||||
mode={props.mode}
|
|
||||||
copy={props.copy}
|
|
||||||
onChange={props.onChange}
|
|
||||||
tooltip={dataFields.developer_name.tooltip}
|
|
||||||
placeholder=""
|
|
||||||
editableEntries={true}
|
|
||||||
/>
|
|
||||||
<Verification
|
|
||||||
slug="developer_name"
|
|
||||||
allow_verify={props.user !== undefined && props.building.developer_name !== null && !props.edited}
|
|
||||||
onVerify={props.onVerify}
|
|
||||||
user_verified={props.user_verified.hasOwnProperty("developer_name")}
|
|
||||||
user_verified_as={props.user_verified.developer_name}
|
|
||||||
verified_count={props.building.verified.developer_name}
|
|
||||||
/>
|
|
||||||
<MultiDataEntry
|
<MultiDataEntry
|
||||||
title={dataFields.developer_source_link.title}
|
title={dataFields.developer_source_link.title}
|
||||||
slug="developer_source_link"
|
slug="developer_source_link"
|
||||||
|
@ -665,12 +665,6 @@ export const dataFields = { /* eslint-disable @typescript-eslint/camelcase */
|
|||||||
"Other"
|
"Other"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
developer_name: {
|
|
||||||
category: Category.Team,
|
|
||||||
title: "Who were the developer(s)?",
|
|
||||||
tooltip: "Free text. First name, space, then Last name",
|
|
||||||
example: ["", "", ""],
|
|
||||||
},
|
|
||||||
developer_source_link: {
|
developer_source_link: {
|
||||||
category: Category.Team,
|
category: Category.Team,
|
||||||
title: "Source links for developer(s)",
|
title: "Source links for developer(s)",
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
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 developer_name;
|
|
||||||
ALTER TABLE buildings DROP COLUMN IF EXISTS developer_source_link;
|
ALTER TABLE buildings DROP COLUMN IF EXISTS developer_source_link;
|
||||||
ALTER TABLE buildings DROP COLUMN IF EXISTS designers;
|
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_source_link;
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
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 developer_name varchar;
|
|
||||||
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS developer_source_link text[];
|
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS developer_source_link text[];
|
||||||
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS designers text[];
|
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS designers text[];
|
||||||
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS designers_source_link text[];
|
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS designers_source_link text[];
|
||||||
|
Loading…
Reference in New Issue
Block a user