##// END OF EJS Templates
Enforced unicity of relations between 2 issues with a database index (#9685)....
Enforced unicity of relations between 2 issues with a database index (#9685). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8041 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2814:70118fb136b1
r7921:39ae7b66f86a
Show More
20091017213332_add_missing_indexes_to_documents.rb
9 lines | 189 B | text/x-ruby | RubyLexer
/ db / migrate / 20091017213332_add_missing_indexes_to_documents.rb
class AddMissingIndexesToDocuments < ActiveRecord::Migration
def self.up
add_index :documents, :category_id
end
def self.down
remove_index :documents, :category_id
end
end