added importing doogal data for wards on postcode

This commit is contained in:
Finn 2019-08-29 16:37:55 +01:00
parent 9b7d8530b6
commit c977cf3279
No known key found for this signature in database
GPG key ID: 7455B4B17685B598
16 changed files with 4947 additions and 1 deletions

View file

@ -0,0 +1,23 @@
-- Convert schema 'share/ddl/_source/deploy/28/001-auto.yml' to 'share/ddl/_source/deploy/29/001-auto.yml':;
;
BEGIN;
;
CREATE TABLE gb_wards (
id INTEGER PRIMARY KEY NOT NULL,
ward varchar(100) NOT NULL
);
;
ALTER TABLE gb_postcodes ADD COLUMN ward_id integer;
;
CREATE INDEX gb_postcodes_idx_ward_id ON gb_postcodes (ward_id);
;
;
COMMIT;