LasTres/dbicdh/PostgreSQL/upgrade/8-9/001-auto.sql

19 lines
406 B
PL/PgSQL

-- Convert schema '/home/sergio/LasTres/script/../dbicdh/_source/deploy/8/001-auto.yml' to '/home/sergio/LasTres/script/../dbicdh/_source/deploy/9/001-auto.yml':;
;
BEGIN;
;
ALTER TABLE teams ADD COLUMN action_frame integer DEFAULT 0 NOT NULL;
;
ALTER TABLE teams ADD COLUMN is_moving boolean DEFAULT false NOT NULL;
;
ALTER TABLE teams ADD COLUMN moving_to jsonb DEFAULT 'null' NOT NULL;
;
COMMIT;