Jormungandr: fix db migration with the last rebase