Cross Reference:
xref
: /
ontohub
/
db
/
migrate
/
20130627135721_add_commit_oid_to_ontology_versions.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
20130627135721_add_commit_oid_to_ontology_versions.rb revision aead985e48027c9df1ef553b17df29dd378757aa
327
N/A
class
AddCommitOidToOntologyVersions
<
ActiveRecord
::
Migration
327
N/A
def
change
327
N/A
# SHA1 Hash
327
N/A
add_column
:
ontology_versions
, :
commit_oid
, :
string
,
null
:
false
,
limit
:
40
327
N/A
add_index
:
ontology_versions
, :
commit_oid
327
N/A
327
N/A
# not needed any more
327
N/A
remove_column
:
ontology_versions
, :
raw_file
327
N/A
remove_column
:
ontology_versions
, :
xml_file
327
N/A
end
327
N/A
end
327
N/A