class Pronto::RailsMigrations

def run

def run
  return [] unless migration_patches?
  messages = []
  if other_patches?
    patch = migration_patches.first
    messages << message(
      patch,
      'Run migrations in a separate PR from application code changes.',
      level: :error
    )
  end
  messages + bad_structure_sql_messages
end