Sha256: 9604d394ad360ba9707aca34d56bbd3cedd3cdf2fb31b5dcc672dd6fd62c5273
Contents?: true
Size: 288 Bytes
Versions: 3
Compression:
Stored size: 288 Bytes
Contents
class AddStockLocationIdToComableStocks < ActiveRecord::Migration def change change_table :comable_stocks do |t| t.references :stock_location end add_index :comable_stocks, :stock_location_id add_index :comable_stocks, [:stock_location_id, :variant_id] end end
Version data entries
3 entries across 3 versions & 1 rubygems