Open-Source-Access-Control-.../db/migrate/20141120200638_add_indexes_to_payments.rb

7 lines
140 B
Ruby

class AddIndexesToPayments < ActiveRecord::Migration
def change
add_index :payments, :date
add_index :payments, :amount
end
end