buildbot/buildbot — comment on commit 8b1cee84683fd185d46aea193a01f2b42b4f5503
File: master/buildbot/db/migrate/versions/011_add_buildrequest_claims.py line 67
By benallard:

I believe that this drop the foreignkey constraints on this table.

If you analyse the generated database (in version 14) with a database analyser tool, this one will not show any foreign key constraints between buildrequests and buildsets. I first thought it was a bug of the tool, but when a second tool confirmed it, I looked deeper in the code.

This is the only place where this table is mentioned without its foreign keys, thus my belief that this drop the constraint.