Due to the missing primary key on the migrations
table, attempting to create the table during drone initialization fails, rejected by the server - issue #2771 mentions this (also here), and #2772 attempted fix this by submitting a naive patch against the generated ddl_gen.go
file.
The actual fix is to require a version of togo
with https://github.com/bradrydzewski/togo/pull/3 applied, and re-generate the ddl files.
This issue blocks installation of drone in environments with replicated mysql servers.
Posting here as the Github issue template told me I should not submit an issue without doing this first.
PS - I would have directly linked the relevant issues, but discourse won’t let me include more than 2 links.