redmine/db/migrate/20161001122012_add_tracker_id_index_to_workflows.rb

10 lines
187 B
Ruby
Raw Normal View History

class AddTrackerIdIndexToWorkflows < ActiveRecord::Migration
def self.up
add_index :workflows, :tracker_id
end
def self.down
remove_index :workflows, :tracker_id
end
end