Sha256: 92b40398763a1b5513b149e66ecb65459e6308cced52f326ed97c1b8c00e14fa
Contents?: true
Size: 319 Bytes
Versions: 29
Compression:
Stored size: 319 Bytes
Contents
class ReorderActiveTasksIndex < ActiveRecord::Migration[4.2] def change remove_index :tasks, name: :index_active_tasks add_index :tasks, %i(stack_id allow_concurrency status), name: :index_active_tasks remove_index :tasks, :stack_id # now useless since `index_active_tasks` starts by `stack_id` end end
Version data entries
29 entries across 29 versions & 1 rubygems