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

7 lines
140 B
Ruby
Raw Permalink Normal View History

2014-11-20 20:13:38 +00:00
class AddIndexesToPayments < ActiveRecord::Migration
def change
add_index :payments, :date
add_index :payments, :amount
end
end