Sha256: 73e05edfbfcd51f800dcfbbeca52cf4065d82753e90caac4358f9008c294250a

Contents?: true

Size: 223 Bytes

Versions: 6

Compression:

Stored size: 223 Bytes

Contents

class RemoveStockLevelItemPolymorphism < ActiveRecord::Migration
  def change
    rename_column :tienda_stock_level_adjustments, :item_id, :product_id
    remove_column :tienda_stock_level_adjustments, :item_type
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tienda-2.1.3 db/migrate/20150517195800_remove_stock_level_item_polymorphism.rb
tienda-2.1.2 db/migrate/20150517195800_remove_stock_level_item_polymorphism.rb
tienda-2.1.1 db/migrate/20150517195800_remove_stock_level_item_polymorphism.rb
tienda-2.1.0 db/migrate/20150517195800_remove_stock_level_item_polymorphism.rb
tienda-2.0.2 db/migrate/20150517195800_remove_stock_level_item_polymorphism.rb
tienda-2.0.1 db/migrate/20150517195800_remove_stock_level_item_polymorphism.rb