1
0
espelhamento de https://github.com/redmine/redmine.git sincronizado 2024-08-07 21:06:46 +02:00
redmine/db/migrate/20091017213113_add_missing_indexes_to_enumerations.rb

10 linhas
209 B
Ruby
Original Visão normal Histórico

class AddMissingIndexesToEnumerations < ActiveRecord::Migration
def self.up
add_index :enumerations, [:id, :type]
end
def self.down
remove_index :enumerations, :column => [:id, :type]
end
end