1
0
şunun yansıması https://github.com/redmine/redmine.git eşitlendi 2024-07-27 20:19:39 +02:00
redmine/db/migrate/20091017212457_add_missing_indexes_to_custom_fields_projects.rb

10 satır
280 B
Ruby

class AddMissingIndexesToCustomFieldsProjects < ActiveRecord::Migration[4.2]
def self.up
add_index :custom_fields_projects, [:custom_field_id, :project_id]
end
def self.down
remove_index :custom_fields_projects, :column => [:custom_field_id, :project_id]
end
end