1
0
miroir de https://github.com/redmine/redmine.git synchronisé 2024-07-27 07:37:45 +02:00
redmine/db/migrate/20091017213757_add_missing_indexes_to_boards.rb

10 lignes
193 B
Ruby

class AddMissingIndexesToBoards < ActiveRecord::Migration[4.2]
def self.up
add_index :boards, :last_message_id
end
def self.down
remove_index :boards, :last_message_id
end
end