class ROM::SQL::Migration::SchemaDiff::IndexDiff
Attributes
index[R]
Public Class Methods
new(index)
click to toggle source
# File lib/rom/sql/migration/schema_diff.rb, line 116 def initialize(index) @index = index end
Public Instance Methods
attributes()
click to toggle source
# File lib/rom/sql/migration/schema_diff.rb, line 120 def attributes list = index.attributes.map(&:name) if list.size == 1 list[0] else list end end
name()
click to toggle source
# File lib/rom/sql/migration/schema_diff.rb, line 130 def name index.name end