Mercurial > hg > soundsoftware-site
view db/migrate/20091017214644_add_missing_indexes_to_issue_relations.rb @ 351:ebf53b46f3f3 feature_123
Add the overview setting to the project settings. Still rather clumsy, but it does appear to work!
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 31 Mar 2011 18:20:16 +0100 |
parents | 513646585e45 |
children |
line wrap: on
line source
class AddMissingIndexesToIssueRelations < ActiveRecord::Migration def self.up add_index :issue_relations, :issue_from_id add_index :issue_relations, :issue_to_id end def self.down remove_index :issue_relations, :issue_from_id remove_index :issue_relations, :issue_to_id end end