lib/rails/generators/rails/migration/migration_generator.rb



# frozen_string_literal: true

module Rails
  module Generators
    class MigrationGenerator < NamedBase # :nodoc:
      argument :attributes, type: :array, default: [], banner: "field[:type][:index] field[:type][:index]"
      hook_for :orm, required: true, desc: "ORM to be invoked"

      def self.exit_on_failure? # :nodoc:
        true
      end
    end
  end
end