#305 failed to update DB
Closed: Fixed Opened by mjia.

When updating db to Koji 1.11, it came out a syntax error on line 112
https://pagure.io/koji/blob/master/f/docs/schema-upgrade-1.10-1.11.sql


Updating the statement to

UPDATE buildroot SET container_type = 'chroot' WHERE container_type IS NULL AND container_arch IS NOT NULL;

fixes the error.

It should be already fixed via commit: https://pagure.io/koji/c/6f4c57690604c7d8f557533092f25ae866326f9e?branch=master

It should be already fixed via commit: https://pagure.io/koji/c/6f4c57690604c7d8f557533092f25ae866326f9e?branch=master

It seems like this bug is introduced by this commit as the updating statement is not using the right syntax.

Ah sorry, I've misunderstood your original message. You're right.

PR #308

Commit ad633967 fixes this issue

Metadata Update from @tkopecek:
- Issue set to the milestone: 1.12

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/305

Please continue any further discussion there.

Metadata