Fix horizontal migrations