##// END OF EJS Templates
replace "User#before_create" and "User.login" shoulda contexts at unit user test...
replace "User#before_create" and "User.login" shoulda contexts at unit user test git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10540 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2814:70118fb136b1
r10329:df44af819c98
Show More
20091017214644_add_missing_indexes_to_issue_relations.rb
11 lines | 303 B | text/x-ruby | RubyLexer
/ db / migrate / 20091017214644_add_missing_indexes_to_issue_relations.rb
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