class ROM::SQL::Migration::SchemaDiff::IndexAdded
Public Instance Methods
options()
click to toggle source
# File lib/rom/sql/migration/schema_diff.rb, line 136 def options options = {} options[:name] = index.name if !index.name.nil? options[:unique] = true if index.unique? options[:type] = index.type if !index.type.nil? options[:where] = index.predicate if !index.predicate.nil? options end