Add version identifier to old migrations (required for Rails 5)

This commit is contained in:
Sebastian Serth
2018-11-22 19:05:19 +01:00
parent 0fbbe97ae4
commit 44dc18feb0
125 changed files with 125 additions and 125 deletions

View File

@ -1,4 +1,4 @@
class AddFileIndexToFiles < ActiveRecord::Migration
class AddFileIndexToFiles < ActiveRecord::Migration[4.2]
def change
add_index(:files, [:context_id, :context_type])
end