Adding payment index
This commit is contained in:
6
db/migrate/20141120200638_add_indexes_to_payments.rb
Normal file
6
db/migrate/20141120200638_add_indexes_to_payments.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class AddIndexesToPayments < ActiveRecord::Migration
|
||||
def change
|
||||
add_index :payments, :date
|
||||
add_index :payments, :amount
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user