##// END OF EJS Templates
Merged r3865 and r3866 from trunk....
Merged r3865 and r3866 from trunk. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.9-stable@3868 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2814:70118fb136b1
r3754:a84920ca7016 0.9-stable
Show More
20091017214611_add_missing_indexes_to_journals.rb
11 lines | 263 B | text/x-ruby | RubyLexer
/ db / migrate / 20091017214611_add_missing_indexes_to_journals.rb
class AddMissingIndexesToJournals < ActiveRecord::Migration
def self.up
add_index :journals, :user_id
add_index :journals, :journalized_id
end
def self.down
remove_index :journals, :user_id
remove_index :journals, :journalized_id
end
end