method
new
new(direction, migrations_paths, target_version = nil)
public
Hide source
# File activerecord/lib/active_record/migration.rb, line 661 def initialize(direction, migrations_paths, target_version = nil) raise StandardError.new("This database does not yet support migrations") unless Base.connection.supports_migrations? Base.connection.initialize_schema_migrations_table @direction, @migrations_paths, @target_version = direction, migrations_paths, target_version end