дзеркало
https://github.com/redmine/redmine.git
synced 2024-07-27 20:19:39 +02:00
![Go MAEDA](/assets/img/avatar_default.png)
git-svn-id: http://svn.redmine.org/redmine/trunk@17997 e93f8b46-1217-0410-a6f0-8f06a7374b81
10 рядки
280 B
Ruby
10 рядки
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
|