method
record_version_state_after_migrating
record_version_state_after_migrating(version)
private
Hide source
# File activerecord/lib/active_record/migration.rb, line 1341 def record_version_state_after_migrating(version) if down? migrated.delete(version) @schema_migration.delete_by(version: version.to_s) else migrated << version @schema_migration.create!(version: version.to_s) end end