16 lines
466 B
MySQL
16 lines
466 B
MySQL
|
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,
|
||
|
decision_date date,
|
||
|
last_synced_date date,
|
||
|
status VARCHAR(20),
|
||
|
data_source VARCHAR(70),
|
||
|
data_source_link VARCHAR(150),
|
||
|
uprn bigint
|
||
|
);
|