Sha256: 3ad66963516dc4bd386e96d8b2c94f533ac4ce61da417270d6e6b143d3721c90
Contents?: true
Size: 256 Bytes
Versions: 1
Compression:
Stored size: 256 Bytes
Contents
class StockLevelAdjustmentsShouldBePolymorphic < ActiveRecord::Migration def change rename_column :shoppe_stock_level_adjustments, :product_id, :item_id add_column :shoppe_stock_level_adjustments, :item_type, :string, :after => :item_id end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shoppe-0.0.15 | db/migrate/20131022093538_stock_level_adjustments_should_be_polymorphic.rb |