Created a function to check if the migration is effectively installed, so this is not needed anymore.