Upgrade for postcode data table

This commit is contained in:
Tom Bloor 2017-09-21 16:47:02 +01:00
parent 3e87326265
commit db1bbab10f
9 changed files with 1877 additions and 1 deletions

View file

@ -0,0 +1,18 @@
-- Convert schema 'share/ddl/_source/deploy/8/001-auto.yml' to 'share/ddl/_source/deploy/9/001-auto.yml':;
;
BEGIN;
;
CREATE TABLE gb_postcodes (
outcode char(4) NOT NULL,
incode char(3) NOT NULL DEFAULT '',
latitude decimal(7,5),
longitude decimal(7,5),
PRIMARY KEY (outcode, incode)
);
;
COMMIT;