#305 failed to update DB
Closed: Fixed 5 years ago Opened 5 years ago 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 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.

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

5 years ago

Login to comment on this ticket.

Metadata