Skip to content

Commit

Permalink
Merge pull request #154 from samvera/migrations_for_5.1
Browse files Browse the repository at this point in the history
Add version to migrations to support rails >= 5.1
  • Loading branch information
Thomas Johnson committed Sep 25, 2017
2 parents b7daa6f + d9d1456 commit 809bbc5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion db/migrate/20130917200611_create_qa_subject_mesh_terms.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class CreateQaSubjectMeshTerms < ActiveRecord::Migration
class CreateQaSubjectMeshTerms < ActiveRecord::Migration[4.2]
def change
create_table :qa_subject_mesh_terms do |t|
t.string :term_id
Expand Down
2 changes: 1 addition & 1 deletion db/migrate/20130917201026_create_qa_mesh_tree.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class CreateQaMeshTree < ActiveRecord::Migration
class CreateQaMeshTree < ActiveRecord::Migration[4.2]
def change
create_table :qa_mesh_trees do |t|
t.string :term_id
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class AddTermLowerToQaSubjectMeshTerms < ActiveRecord::Migration
class AddTermLowerToQaSubjectMeshTerms < ActiveRecord::Migration[4.2]
def change
add_column :qa_subject_mesh_terms, :term_lower, :string
add_index :qa_subject_mesh_terms, :term_lower
Expand Down

0 comments on commit 809bbc5

Please sign in to comment.