2022-10-05 13:52:14 -04:00
|
|
|
CREATE TABLE IF NOT EXISTS planning_data (
|
|
|
|
-- internal unique id
|
|
|
|
planning_entry_id serial PRIMARY KEY,
|
|
|
|
|
|
|
|
-- assigned by planning authority
|
|
|
|
planning_application_id VARCHAR(50),
|
|
|
|
planning_application_link VARCHAR(260),
|
|
|
|
description VARCHAR,
|
2022-09-15 06:14:53 -04:00
|
|
|
registered_with_local_authority_date date,
|
2022-10-05 13:52:14 -04:00
|
|
|
decision_date date,
|
|
|
|
last_synced_date date,
|
2022-09-21 19:28:04 -04:00
|
|
|
status VARCHAR(50),
|
2022-10-05 13:52:14 -04:00
|
|
|
data_source VARCHAR(70),
|
|
|
|
data_source_link VARCHAR(150),
|
|
|
|
uprn bigint
|
|
|
|
);
|