Fix check-migrations