Check pending migrations before calling columns_hash