Windows builds working, including artifacts import
This commit is contained in:
parent
38f74ed5a0
commit
4aab93fe8f
8 changed files with 347 additions and 62 deletions
29
docs/schema-upgrade-1.4-1.5.sql
Normal file
29
docs/schema-upgrade-1.4-1.5.sql
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
-- upgrade script to migrate the Koji database schema
|
||||
-- from version 1.4 to 1.5
|
||||
|
||||
BEGIN;
|
||||
|
||||
INSERT INTO channels (name) VALUES ('vm');
|
||||
|
||||
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 ('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');
|
||||
|
||||
-- flag to indicate that a build is a Windows build
|
||||
CREATE TABLE win_builds (
|
||||
build_id INTEGER NOT NULL PRIMARY KEY REFERENCES build(id),
|
||||
platform TEXT NOT NULL
|
||||
) WITHOUT OIDS;
|
||||
|
||||
-- Extended information about files built in Windows VMs
|
||||
CREATE TABLE win_archives (
|
||||
archive_id INTEGER NOT NULL PRIMARY KEY REFERENCES archiveinfo(id),
|
||||
platforms TEXT NOT NULL,
|
||||
flags TEXT
|
||||
) WITHOUT OIDS;
|
||||
|
||||
COMMIT WORK;
|
||||
Loading…
Add table
Add a link
Reference in a new issue