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/29-30/001-auto.sql

30 lines
790 B
PL/PgSQL

-- Convert schema 'share/ddl/_source/deploy/29/001-auto.yml' to 'share/ddl/_source/deploy/30/001-auto.yml':;
;
BEGIN;
;
ALTER TABLE transactions_meta ADD COLUMN local_service boolean DEFAULT false NOT NULL;
;
ALTER TABLE transactions_meta ADD COLUMN regional_service boolean DEFAULT false NOT NULL;
;
ALTER TABLE transactions_meta ADD COLUMN national_service boolean DEFAULT false NOT NULL;
;
ALTER TABLE transactions_meta ADD COLUMN private_household_rebate boolean DEFAULT false NOT NULL;
;
ALTER TABLE transactions_meta ADD COLUMN business_tax_and_rebate boolean DEFAULT false NOT NULL;
;
ALTER TABLE transactions_meta ADD COLUMN stat_loc_gov boolean DEFAULT false NOT NULL;
;
ALTER TABLE transactions_meta ADD COLUMN central_loc_gov boolean DEFAULT false NOT NULL;
;
COMMIT;