ref: master
plugins/stock/db/migrate/20161011121213_create_stock_plugin_allocations_orders.rb
1 2 3 4 5 6 7 8
class CreateStockPluginAllocationsOrders < ActiveRecord::Migration def change create_table :stock_plugin_allocations_orders do |t| t.references :order t.references :stock_allocation end end end