Sha256: 0ae80ffbf602d0bea8d0892b255f655b5dc0b40ec19428c9aa07990ac9d0ad6f
Contents?: true
Size: 319 Bytes
Versions: 32
Compression:
Stored size: 319 Bytes
Contents
class ImproveTasksIndexing < ActiveRecord::Migration[5.0] def change # index_active_tasks should superseed this, but for some reason # MySQL tend to chose the wrong index. This one while wasting a bit of memory # makes it do a better choice. add_index :tasks, %i(stack_id allow_concurrency) end end
Version data entries
32 entries across 32 versions & 1 rubygems