method

delete_version

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: SchemaMigration
delete_version(version) 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/schema_migration.rb, line 25
    def delete_version(version)
      dm = Arel::DeleteManager.new(arel_table)
      dm.wheres = [arel_table[primary_key].eq(version)]

      connection.delete(dm, "#{self.class} Destroy")
    end
Register or log in to add new notes.