Unable to migrate with ConstraintException with discovered hosts
A change (bb052243) inroduced new migration which is not working correctly when there are discovered hosts. The migration will never go through, it's a one liner fix that can be done in the migration itself safely.
The error message during migration is:
SQLite3::ConstraintException: NOT NULL constraint failed: hosts.managed: