1
0
miroir de https://github.com/redmine/redmine.git synchronisé 2024-07-26 19:38:43 +02:00
redmine/db/migrate/20091017214308_add_missing_indexes_to_news.rb

10 lignes
175 B
Ruby

class AddMissingIndexesToNews < ActiveRecord::Migration[4.2]
def self.up
add_index :news, :author_id
end
def self.down
remove_index :news, :author_id
end
end