Cross Reference: 20160719104019_index_locid_specifics.rb
xref
: /
ontohub
/
db
/
migrate
/
20160719104019_index_locid_specifics.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
class
IndexLocidSpecifics
<
ActiveRecord
::
Migration
def
up
add_index
:
loc_ids
, :
specific_id
add_index
:
loc_ids
, :
specific_type
end
def
down
remove_index
:
loc_ids
, :
specific_if
remove_index
:
loc_ids
, :
specific_type
end
end