This repository has been archived on 2023-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
Foodloop-Server/share/ddl/PostgreSQL/upgrade/9-10/001-auto.sql

22 lines
377 B
PL/PgSQL

-- 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;