Initial commit
This commit is contained in:
9
db/migrate/20180516131005_improve_order_model2.rb
Normal file
9
db/migrate/20180516131005_improve_order_model2.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
# encoding: UTF-8
|
||||
# frozen_string_literal: true
|
||||
|
||||
class ImproveOrderModel2 < ActiveRecord::Migration[4.2]
|
||||
def change
|
||||
add_index :orders, %i[type market_id]
|
||||
add_index :orders, %i[type member_id]
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user