From 349155440539b300f6dbf09224528b92771b1eeb Mon Sep 17 00:00:00 2001
From: Tomas Kopecek <tkopecek@redhat.com>
Date: Dec 14 2020 10:42:01 +0000
Subject: unify sql case


---

diff --git a/docs/schema.sql b/docs/schema.sql
index 498ccdd..3e5c446 100644
--- a/docs/schema.sql
+++ b/docs/schema.sql
@@ -801,75 +801,75 @@ CREATE TABLE archivetypes (
         extensions TEXT NOT NULL
 ) WITHOUT OIDS;
 
-insert into archivetypes (name, description, extensions) values ('jar', 'Jar file', 'jar war rar ear sar jdocbook jdocbook-style');
-insert into archivetypes (name, description, extensions) values ('zip', 'Zip file', 'zip');
-insert into archivetypes (name, description, extensions) values ('pom', 'Maven Project Object Management file', 'pom');
-insert into archivetypes (name, description, extensions) values ('tar', 'Tar file', 'tar tar.gz tar.bz2 tar.xz tgz');
-insert into archivetypes (name, description, extensions) values ('xml', 'XML file', 'xml');
-insert into archivetypes (name, description, extensions) values ('xmlcompressed', 'Compressed XML file', 'xml.gz xml.bz2 xml.xz');
-insert into archivetypes (name, description, extensions) values ('xsd', 'XML Schema Definition', 'xsd');
-insert into archivetypes (name, description, extensions) values ('spec', 'RPM spec file', 'spec');
-insert into archivetypes (name, description, extensions) values ('exe', 'Windows executable', 'exe');
-insert into archivetypes (name, description, extensions) values ('dll', 'Windows dynamic link library', 'dll');
-insert into archivetypes (name, description, extensions) values ('lib', 'Windows import library', 'lib');
-insert into archivetypes (name, description, extensions) values ('sys', 'Windows device driver', 'sys');
-insert into archivetypes (name, description, extensions) values ('inf', 'Windows driver information file', 'inf');
-insert into archivetypes (name, description, extensions) values ('cat', 'Windows catalog file', 'cat');
-insert into archivetypes (name, description, extensions) values ('msi', 'Windows Installer package', 'msi');
-insert into archivetypes (name, description, extensions) values ('pdb', 'Windows debug information', 'pdb');
-insert into archivetypes (name, description, extensions) values ('oem', 'Windows driver oem file', 'oem');
-insert into archivetypes (name, description, extensions) values ('iso', 'CD/DVD Image', 'iso');
-insert into archivetypes (name, description, extensions) values ('raw', 'Raw disk image', 'raw');
-insert into archivetypes (name, description, extensions) values ('qcow', 'QCOW image', 'qcow');
-insert into archivetypes (name, description, extensions) values ('qcow2', 'QCOW2 image', 'qcow2');
-insert into archivetypes (name, description, extensions) values ('vmdk', 'vSphere image', 'vmdk');
-insert into archivetypes (name, description, extensions) values ('ova', 'Open Virtualization Archive', 'ova');
-insert into archivetypes (name, description, extensions) values ('ks', 'Kickstart', 'ks');
-insert into archivetypes (name, description, extensions) values ('cfg', 'Configuration file', 'cfg');
-insert into archivetypes (name, description, extensions) values ('vdi', 'VirtualBox Virtual Disk Image', 'vdi');
-insert into archivetypes (name, description, extensions) values ('aar', 'Binary distribution of an Android Library project', 'aar');
-insert into archivetypes (name, description, extensions) values ('apklib', 'Source distribution of an Android Library project', 'apklib');
-insert into archivetypes (name, description, extensions) values ('cab', 'Windows cabinet file', 'cab');
-insert into archivetypes (name, description, extensions) values ('dylib', 'OS X dynamic library', 'dylib');
-insert into archivetypes (name, description, extensions) values ('gem', 'Ruby gem', 'gem');
-insert into archivetypes (name, description, extensions) values ('ini', 'INI config file', 'ini');
-insert into archivetypes (name, description, extensions) values ('js', 'Javascript file', 'js');
-insert into archivetypes (name, description, extensions) values ('ldif', 'LDAP Data Interchange Format file', 'ldif');
-insert into archivetypes (name, description, extensions) values ('manifest', 'Runtime environment for .NET applications', 'manifest');
-insert into archivetypes (name, description, extensions) values ('msm', 'Windows merge module', 'msm');
-insert into archivetypes (name, description, extensions) values ('properties', 'Properties file', 'properties');
-insert into archivetypes (name, description, extensions) values ('sig', 'Signature file', 'sig signature');
-insert into archivetypes (name, description, extensions) values ('so', 'Shared library', 'so');
-insert into archivetypes (name, description, extensions) values ('txt', 'Text file', 'txt');
-insert into archivetypes (name, description, extensions) values ('vhd', 'Hyper-V image', 'vhd');
-insert into archivetypes (name, description, extensions) values ('vhdx', 'Hyper-V Virtual Hard Disk v2 image', 'vhdx');
-insert into archivetypes (name, description, extensions) values ('wsf', 'Windows script file', 'wsf');
-insert into archivetypes (name, description, extensions) values ('box', 'Vagrant Box Image', 'box');
-insert into archivetypes (name, description, extensions) values ('raw-xz', 'xz compressed raw disk image', 'raw.xz');
-insert into archivetypes (name, description, extensions) values ('json', 'JSON data', 'json');
-insert into archivetypes (name, description, extensions) values ('key', 'Key file', 'key');
-insert into archivetypes (name, description, extensions) values ('dot', 'DOT graph description', 'dot gv');
-insert into archivetypes (name, description, extensions) values ('groovy', 'Groovy script file', 'groovy gvy');
-insert into archivetypes (name, description, extensions) values ('batch', 'Batch file', 'bat');
-insert into archivetypes (name, description, extensions) values ('shell', 'Shell script', 'sh');
-insert into archivetypes (name, description, extensions) values ('rc', 'Resource file', 'rc');
-insert into archivetypes (name, description, extensions) values ('wsdl', 'Web Services Description Language', 'wsdl');
-insert into archivetypes (name, description, extensions) values ('obr', 'OSGi Bundle Repository', 'obr');
-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');
-insert into archivetypes (name, description, extensions) values ('raw-gz', 'GZIP compressed raw disk image', 'raw.gz');
-insert into archivetypes (name, description, extensions) values ('qcow2-compressed', 'Compressed QCOW2 image', 'qcow2.gz qcow2.xz');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('jar', 'Jar file', 'jar war rar ear sar jdocbook jdocbook-style');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('zip', 'Zip file', 'zip');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('pom', 'Maven Project Object Management file', 'pom');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('tar', 'Tar file', 'tar tar.gz tar.bz2 tar.xz tgz');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('xml', 'XML file', 'xml');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('xmlcompressed', 'Compressed XML file', 'xml.gz xml.bz2 xml.xz');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('xsd', 'XML Schema Definition', 'xsd');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('spec', 'RPM spec file', 'spec');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('exe', 'Windows executable', 'exe');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('dll', 'Windows dynamic link library', 'dll');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('lib', 'Windows import library', 'lib');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('sys', 'Windows device driver', 'sys');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('inf', 'Windows driver information file', 'inf');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('cat', 'Windows catalog file', 'cat');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('msi', 'Windows Installer package', 'msi');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('pdb', 'Windows debug information', 'pdb');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('oem', 'Windows driver oem file', 'oem');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('iso', 'CD/DVD Image', 'iso');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('raw', 'Raw disk image', 'raw');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('qcow', 'QCOW image', 'qcow');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('qcow2', 'QCOW2 image', 'qcow2');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('vmdk', 'vSphere image', 'vmdk');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('ova', 'Open Virtualization Archive', 'ova');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('ks', 'Kickstart', 'ks');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('cfg', 'Configuration file', 'cfg');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('vdi', 'VirtualBox Virtual Disk Image', 'vdi');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('aar', 'Binary distribution of an Android Library project', 'aar');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('apklib', 'Source distribution of an Android Library project', 'apklib');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('cab', 'Windows cabinet file', 'cab');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('dylib', 'OS X dynamic library', 'dylib');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('gem', 'Ruby gem', 'gem');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('ini', 'INI config file', 'ini');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('js', 'Javascript file', 'js');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('ldif', 'LDAP Data Interchange Format file', 'ldif');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('manifest', 'Runtime environment for .NET applications', 'manifest');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('msm', 'Windows merge module', 'msm');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('properties', 'Properties file', 'properties');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('sig', 'Signature file', 'sig signature');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('so', 'Shared library', 'so');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('txt', 'Text file', 'txt');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('vhd', 'Hyper-V image', 'vhd');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('vhdx', 'Hyper-V Virtual Hard Disk v2 image', 'vhdx');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('wsf', 'Windows script file', 'wsf');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('box', 'Vagrant Box Image', 'box');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('raw-xz', 'xz compressed raw disk image', 'raw.xz');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('json', 'JSON data', 'json');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('key', 'Key file', 'key');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('dot', 'DOT graph description', 'dot gv');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('groovy', 'Groovy script file', 'groovy gvy');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('batch', 'Batch file', 'bat');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('shell', 'Shell script', 'sh');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('rc', 'Resource file', 'rc');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('wsdl', 'Web Services Description Language', 'wsdl');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('obr', 'OSGi Bundle Repository', 'obr');
+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');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('raw-gz', 'GZIP compressed raw disk image', 'raw.gz');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('qcow2-compressed', 'Compressed QCOW2 image', 'qcow2.gz qcow2.xz');
 -- add compressed iso-compressed, vhd-compressed, vhdx-compressed, and vmdk-compressed: From schema-upgrade-1.18-1.19
-insert into archivetypes (name, description, extensions) values ('iso-compressed', 'Compressed iso image', 'iso.gz iso.xz');
-insert into archivetypes (name, description, extensions) values ('vhd-compressed', 'Compressed VHD image', 'vhd.gz vhd.xz');
-insert into archivetypes (name, description, extensions) values ('vhdx-compressed', 'Compressed VHDx image', 'vhd.gz vhd.xz');
-insert into archivetypes (name, description, extensions) values ('vmdk-compressed', 'Compressed VMDK image', 'vmdk.gz vmdk.xz');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('iso-compressed', 'Compressed iso image', 'iso.gz iso.xz');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('vhd-compressed', 'Compressed VHD image', 'vhd.gz vhd.xz');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('vhdx-compressed', 'Compressed VHDx image', 'vhd.gz vhd.xz');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('vmdk-compressed', 'Compressed VMDK image', 'vmdk.gz vmdk.xz');
 -- add kernel-image and imitramfs: From schema-upgrade-1.18-1.19
-insert into archivetypes (name, description, extensions) values ('kernel-image', 'Kernel BZ2 Image', 'vmlinuz vmlinuz.gz vmlinuz.xz');
-insert into archivetypes (name, description, extensions) values ('initramfs', 'Compressed Initramfs Image', 'img');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('kernel-image', 'Kernel BZ2 Image', 'vmlinuz vmlinuz.gz vmlinuz.xz');
+INSERT INTO archivetypes (name, description, extensions) VALUES ('initramfs', 'Compressed Initramfs Image', 'img');
 
 
 -- Do we want to enforce a constraint that a build can only generate one

