add xjb and yaml type in archivetypes table

to fix [issue#574](https://pagure.io/koji/issue/574)
This commit is contained in:
Yuming Zhu 2017-08-29 17:58:19 +08:00
parent 4cec371933
commit 12121dc191
2 changed files with 6 additions and 0 deletions

View file

@ -6,4 +6,8 @@ BEGIN;
-- drop unused log_messages table
DROP TABLE log_messages;
-- add yaml and xjb file type in archivetypes
insert into archivetypes (name, description, extensions) values ('yaml', 'YAML Ain''t Markup Language', 'yaml yml');
insert into archivetypes (name, description, extensions) values ('xjb', 'JAXB(Java Architecture for XML Binding) Binding Customization File', 'xjb');
COMMIT;

View file

@ -786,6 +786,8 @@ insert into archivetypes (name, description, extensions) values ('obr', 'OSGi Bu
insert into archivetypes (name, description, extensions) values ('liveimg-squashfs', 'liveimg compatible squashfs image', 'liveimg.squashfs');
insert into archivetypes (name, description, extensions) values ('tlb', 'OLE type library file', 'tlb');
insert into archivetypes (name, description, extensions) values ('jnilib', 'Java Native Interface library', 'jnilib');
insert into archivetypes (name, description, extensions) values ('yaml', 'YAML Ain''t Markup Language', 'yaml yml');
insert into archivetypes (name, description, extensions) values ('xjb', 'JAXB(Java Architecture for XML Binding) Binding Customization File', 'xjb');
-- Do we want to enforce a constraint that a build can only generate one