Check for pending migrations before calling columns_hash