method

new

Importance_0
new(message = nil, pending_migrations: nil) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/migration.rb, line 146
    def initialize(message = nil, pending_migrations: nil)
      if pending_migrations.nil?
        connection = ActiveRecord::Tasks::DatabaseTasks.migration_connection
        pending_migrations = connection.migration_context.open.pending_migrations
      end

      super(message || detailed_migration_message(pending_migrations))
    end
Register or log in to add new notes.