method
record_version_state_after_migrating
record_version_state_after_migrating(version)
private
Hide source
# File activerecord/lib/active_record/migration.rb, line 1016 def record_version_state_after_migrating(version) if down? migrated.delete(version) ActiveRecord::SchemaMigration.where(:version => version.to_s).delete_all else migrated << version ActiveRecord::SchemaMigration.create!(:version => version.to_s) end end