amoralej / centos / cbs-tools

Forked from centos/cbs-tools 2 years ago
Clone

Blame scripts/migration/1.11-1.16.3/schema-upgrade-1.11-1.12.sql

Thomas Oulevey 4cda50
BEGIN;
Thomas Oulevey 4cda50
Thomas Oulevey 4cda50
-- from schema-update-dist-repos.sql
Thomas Oulevey 4cda50
Thomas Oulevey 4cda50
-- INSERT INTO permissions (name) VALUES ('image');
Thomas Oulevey 4cda50
Thomas Oulevey 4cda50
ALTER TABLE repo ADD COLUMN dist BOOLEAN;
Thomas Oulevey 4cda50
ALTER TABLE repo ALTER COLUMN dist SET DEFAULT 'false';
Thomas Oulevey 4cda50
UPDATE repo SET dist = 'false';
Thomas Oulevey 4cda50
Thomas Oulevey 4cda50
COMMIT;