##// END OF EJS Templates
#1921, pt translation...
#1921, pt translation git-svn-id: http://redmine.rubyforge.org/svn/trunk@1897 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r691:17a3f9e44c15
r1895:fbf2646426f4
Show More
066_add_custom_value_customized_index.rb
9 lines | 278 B | text/x-ruby | RubyLexer
/ db / migrate / 066_add_custom_value_customized_index.rb
class AddCustomValueCustomizedIndex < ActiveRecord::Migration
def self.up
add_index :custom_values, [:customized_type, :customized_id], :name => :custom_values_customized
end
def self.down
remove_index :custom_values, :name => :custom_values_customized
end
end