Add version identifier to old migrations (required for Rails 5)
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
class AddFileIndexToFiles < ActiveRecord::Migration
|
||||
class AddFileIndexToFiles < ActiveRecord::Migration[4.2]
|
||||
def change
|
||||
add_index(:files, [:context_id, :context_type])
|
||||
end
|
||||
|
Reference in New Issue
Block a user