Sha256: b3f7e12aafdefc297cfe1cac96e32667c0a371b77d2fe335382503843799d6af

Contents?: true

Size: 265 Bytes

Versions: 29

Compression:

Stored size: 265 Bytes

Contents

class ImproveIndexesOnTasks < ActiveRecord::Migration[4.2]
  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

29 entries across 29 versions & 1 rubygems

Version Path
shipit-engine-0.39.0 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.38.0 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.37.0 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.36.1 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.36.0 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.35.1 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.35.0 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.34.0 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.33.0 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.32.0 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.31.0 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.30.0 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.29.0 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.28.1 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.28.0 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.27.1 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.27.0 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.26.0 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.25.1 db/migrate/20151113151323_improve_indexes_on_tasks.rb
shipit-engine-0.25.0 db/migrate/20151113151323_improve_indexes_on_tasks.rb