7 lines
147 B
Ruby
7 lines
147 B
Ruby
|
class AddSomeIndexesToTables < ActiveRecord::Migration
|
||
|
def change
|
||
|
add_index :orders, :created_at
|
||
|
add_index :orders, :cancelled
|
||
|
end
|
||
|
end
|