Module: ActiveRecord::SimpleIndexName::EnableShorten

Defined in:
lib/active_record/simple_index_name/enable_shorten.rb

Instance Method Summary collapse

Instance Method Details

#exec_migration(conn, direction) ⇒ Object



4
5
6
7
8
# File 'lib/active_record/simple_index_name/enable_shorten.rb', line 4

def exec_migration(conn, direction)
  ActiveRecord::SimpleIndexName.with_shorten(:enable) do
    super
  end
end