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
./
20160719104019_index_locid_specifics.rb revision 18371f0b8bf3540e33b639a823e5037ffe2fff5c
dc0d8d65d35787d30a275895ccad8d8e1b58a5ed
nd
class
IndexLocidSpecifics
<
ActiveRecord
::
Migration
dc0d8d65d35787d30a275895ccad8d8e1b58a5ed
nd
def
up
dc0d8d65d35787d30a275895ccad8d8e1b58a5ed
nd
add_index
:
loc_ids
, :
specific_id
dc0d8d65d35787d30a275895ccad8d8e1b58a5ed
nd
add_index
:
loc_ids
, :
specific_type
dc0d8d65d35787d30a275895ccad8d8e1b58a5ed
nd
end
dc0d8d65d35787d30a275895ccad8d8e1b58a5ed
nd
dc0d8d65d35787d30a275895ccad8d8e1b58a5ed
nd
def
down
dc0d8d65d35787d30a275895ccad8d8e1b58a5ed
nd
remove_index
:
loc_ids
, :
specific_if
dc0d8d65d35787d30a275895ccad8d8e1b58a5ed
nd
remove_index
:
loc_ids
, :
specific_type
dc0d8d65d35787d30a275895ccad8d8e1b58a5ed
nd
end
dc0d8d65d35787d30a275895ccad8d8e1b58a5ed
nd
end