Sha256: bb2104289665e4eba61a26cd598af7439cb0bfa8f9ed5ee1ef8ebcbccefd5efe

Contents?: true

Size: 401 Bytes

Versions: 2

Compression:

Stored size: 401 Bytes

Contents

ActiveRecord::Migration.verbose = false
ActiveRecord::Base.logger = Logger.new(nil)

migrations_path = File.expand_path("../../dummy/db/migrate/", __FILE__)

if Rails.version.to_f >= 7.2
  ActiveRecord::MigrationContext.new(migrations_path).migrate
else
  # To support order versions of Rails (pre v7.2)
  ActiveRecord::MigrationContext.new(migrations_path, ActiveRecord::SchemaMigration).migrate
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
devise-otp-1.0.0 test/orm/active_record.rb
devise-otp-0.8.0 test/orm/active_record.rb