Fix continuous integration bug in migrations