colouring-montreal/migrations/033.planning_livestream_data.up.sql
Mateusz Konieczny 205580d7fe better display as unusual data in planning view
applications with unandled statuses are shown
not available application id is not shown as unknown anymore
2022-10-05 19:56:25 +02:00

17 lines
517 B
SQL

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,
registered_with_local_authority_date date,
decision_date date,
last_synced_date date,
status VARCHAR(50),
data_source VARCHAR(70),
data_source_link VARCHAR(150),
uprn bigint
);