Files
Dena/db/migrate/20180516131005_improve_order_model2.rb
2026-08-13 19:50:53 +03:30

10 lines
212 B
Ruby

# 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