Upgrade for postcode data table
This commit is contained in:
parent
3e87326265
commit
db1bbab10f
9 changed files with 1877 additions and 1 deletions
18
share/ddl/PostgreSQL/upgrade/8-9/001-auto.sql
Normal file
18
share/ddl/PostgreSQL/upgrade/8-9/001-auto.sql
Normal 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" character(4) NOT NULL,
|
||||
"incode" character(3) DEFAULT '' NOT NULL,
|
||||
"latitude" numeric(7,5),
|
||||
"longitude" numeric(7,5),
|
||||
PRIMARY KEY ("outcode", "incode")
|
||||
);
|
||||
|
||||
;
|
||||
|
||||
COMMIT;
|
||||
|
Reference in a new issue