| |
@@ -46,6 +46,13 @@
|
| |
|
| |
INSERT INTO locks(name) VALUES('repo-queue');
|
| |
|
| |
+ -- https://pagure.io/koji/issue/3963
|
| |
+ CREATE INDEX IF NOT EXISTS standard_buildroot_host_id on standard_buildroot(host_id);
|
| |
+ CREATE INDEX IF NOT EXISTS standard_buildroot_repo_id on standard_buildroot(repo_id);
|
| |
+ CREATE INDEX IF NOT EXISTS standard_buildroot_task_id on standard_buildroot(task_id);
|
| |
+ CREATE INDEX IF NOT EXISTS standard_buildroot_create_event on standard_buildroot(create_event);
|
| |
+ CREATE INDEX IF NOT EXISTS standard_buildroot_retire_event on standard_buildroot(retire_event);
|
| |
+
|
| |
COMMIT;
|
| |
|
| |
-- this must be outside the transaction block
|
| |
Fixes https://pagure.io/koji/issue/3963