##// 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
20091017212938_add_missing_indexes_to_repositories.rb
9 lines | 196 B | text/x-ruby | RubyLexer
/ db / migrate / 20091017212938_add_missing_indexes_to_repositories.rb
Eric Davis
Adding missing database indexes for foreign keys and STI fields....
r2814 class AddMissingIndexesToRepositories < ActiveRecord::Migration
def self.up
add_index :repositories, :project_id
end
def self.down
remove_index :repositories, :project_id
end
end