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