Cross Reference:
xref
: /
ontohub
/
db
/
migrate
/
20130627135623_add_path_to_ontologies.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
20130627135623_add_path_to_ontologies.rb revision aead985e48027c9df1ef553b17df29dd378757aa
class
AddPathToOntologies
<
ActiveRecord
::
Migration
def
change
add_column
:
ontologies
, :
path
, :
string
,
null
:
false
add_index
:
ontologies
, [:
repository_id
, :
path
],
unique
:
true
end
end