annotate .svn/pristine/c1/c1223f031fa2bf3b78639a2a5da945e7a735cdcd.svn-base @ 917:66ac47c3719b cannam_integration

Rename .text.html.erb and .text.plain.erb to .html.erb and .text.erb in line with the other mailer files
author Chris Cannam
date Tue, 06 Mar 2012 14:05:16 +0000
parents cbb26bc654de
children
rev   line source
Chris@909 1 class AddMissingIndexesToIssues < ActiveRecord::Migration
Chris@909 2 def self.up
Chris@909 3 add_index :issues, :status_id
Chris@909 4 add_index :issues, :category_id
Chris@909 5 add_index :issues, :assigned_to_id
Chris@909 6 add_index :issues, :fixed_version_id
Chris@909 7 add_index :issues, :tracker_id
Chris@909 8 add_index :issues, :priority_id
Chris@909 9 add_index :issues, :author_id
Chris@909 10 end
Chris@909 11
Chris@909 12 def self.down
Chris@909 13 remove_index :issues, :status_id
Chris@909 14 remove_index :issues, :category_id
Chris@909 15 remove_index :issues, :assigned_to_id
Chris@909 16 remove_index :issues, :fixed_version_id
Chris@909 17 remove_index :issues, :tracker_id
Chris@909 18 remove_index :issues, :priority_id
Chris@909 19 remove_index :issues, :author_id
Chris@909 20 end
Chris@909 21 end