7 lines
140 B
Ruby
7 lines
140 B
Ruby
class AddIndexesToPayments < ActiveRecord::Migration
|
|
def change
|
|
add_index :payments, :date
|
|
add_index :payments, :amount
|
|
end
|
|
end
|