Allow longer Build Target names

This commit is contained in:
mprahl 2018-05-08 09:25:09 -04:00 committed by Mike McLean
parent 46856cb43d
commit c21124ee12
3 changed files with 20 additions and 1 deletions

View file

@ -0,0 +1,10 @@
-- upgrade script to migrate the Koji database schema
-- from version 1.16 to 1.17
BEGIN;
-- Change VARCHAR field for build_target names to TEXT to allow longer names
ALTER TABLE build_target ALTER COLUMN name TYPE TEXT;
COMMIT;

View file

@ -408,7 +408,7 @@ CREATE INDEX tag_updates_by_event ON tag_updates (update_event);
-- and how to tag it afterwards.
CREATE TABLE build_target (
id SERIAL NOT NULL PRIMARY KEY,
name VARCHAR(50) UNIQUE NOT NULL
name TEXT UNIQUE NOT NULL
) WITHOUT OIDS;