Sha256: d6ff289eb4a229e7569587a3dac447641cd6a4eb2e9272b978360f2a899228ed

Contents?: true

Size: 260 Bytes

Versions: 34

Compression:

Stored size: 260 Bytes

Contents

class ImproveIndexesOnTasks < ActiveRecord::Migration
  def change
    add_index :tasks, [:type, :stack_id, :status], name: :index_tasks_by_stack_and_status
    add_index :tasks, [:type, :stack_id, :parent_id], name: :index_tasks_by_stack_and_parent
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
shipit-engine-0.18.0 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.17.0 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.16.0 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.15.0 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.14.0 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.13.0 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.12.1 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.12.0 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.11.0 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.10.0 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.9.0 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.8.9 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.8.8 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.8.7 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.8.6 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.8.5 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.8.4 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.8.3 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.8.2 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.8.1 db/migrate/20151113151323_improve_indexes_on_tasks.rb