Sha256: 931e8ac0f8046605b87c3475d4ba6c975c983f917376151d6a4b5529d13d7e8f
Contents?: true
Size: 377 Bytes
Versions: 47
Compression:
Stored size: 377 Bytes
Contents
class AddIndicesForBurnDownChart < ActiveRecord::Migration def self.up add_index :tasks, :parent_id add_index :estimates, [:task_id, :created_at] add_index :works, [:task_id, :completed_at] end def self.down remove_index :works, [:task_id, :completed_at] remove_index :estimates, [:task_id, :created_at] remove_index :tasks, :parent_id end end
Version data entries
47 entries across 47 versions & 1 rubygems