Added upgrade DDL for lat-long on customers and orgs
This commit is contained in:
parent
a810795ca5
commit
e2e4e4769d
9 changed files with 1935 additions and 1 deletions
21
share/ddl/PostgreSQL/upgrade/9-10/001-auto.sql
Normal file
21
share/ddl/PostgreSQL/upgrade/9-10/001-auto.sql
Normal file
|
@ -0,0 +1,21 @@
|
|||
-- Convert schema 'share/ddl/_source/deploy/9/001-auto.yml' to 'share/ddl/_source/deploy/10/001-auto.yml':;
|
||||
|
||||
;
|
||||
BEGIN;
|
||||
|
||||
;
|
||||
ALTER TABLE customers ADD COLUMN latitude numeric(5,2);
|
||||
|
||||
;
|
||||
ALTER TABLE customers ADD COLUMN longitude numeric(5,2);
|
||||
|
||||
;
|
||||
ALTER TABLE organisations ADD COLUMN latitude numeric(8,5);
|
||||
|
||||
;
|
||||
ALTER TABLE organisations ADD COLUMN longitude numeric(8,5);
|
||||
|
||||
;
|
||||
|
||||
COMMIT;
|
||||
|
Reference in a new issue