Open-Source-Access-Control-.../db/migrate/20141120194112_add_indexes_to_door_log.rb

7 lines
144 B
Ruby

class AddIndexesToDoorLog < ActiveRecord::Migration
def change
add_index :door_logs, :key
add_index :door_logs, :created_at
end
end