Blame scripts/migration/schema-upgrade-1.16-1.17.sql

Thomas Oulevey 98f397
-- upgrade script to migrate the Koji database schema
Thomas Oulevey 98f397
-- from version 1.16 to 1.17
Thomas Oulevey 98f397
Thomas Oulevey 98f397
Thomas Oulevey 98f397
BEGIN;
Thomas Oulevey 98f397
Thomas Oulevey 98f397
-- Change VARCHAR field for build_target names to TEXT to allow longer names
Thomas Oulevey 98f397
ALTER TABLE build_target ALTER COLUMN name TYPE TEXT;
Thomas Oulevey 98f397
Thomas Oulevey 98f397
-- Allow different merge modes for mergerepo
Thomas Oulevey 98f397
ALTER TABLE tag_external_repos ADD COLUMN merge_mode TEXT DEFAULT 'koji';
Thomas Oulevey 98f397
Thomas Oulevey 98f397
COMMIT;