Files
codeocean/db/migrate/20150421074734_add_file_index_to_files.rb
2015-04-21 09:50:23 +02:00

6 lines
127 B
Ruby

class AddFileIndexToFiles < ActiveRecord::Migration
def change
add_index(:files, [:context_id, :context_type])
end
end