Sha256: 681b091a15b8c431af9814f436ee8c059420d10c4a1a6c03ef768bc66a645d80

Contents?: true

Size: 157 Bytes

Versions: 6

Compression:

Stored size: 157 Bytes

Contents

class AddStockCounterCache < ActiveRecord::Migration
  def change
    add_column :tienda_products, :stock_count, :integer, null: false, default: 0
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tienda-2.1.3 db/migrate/20150517191600_add_stock_counter_cache.rb
tienda-2.1.2 db/migrate/20150517191600_add_stock_counter_cache.rb
tienda-2.1.1 db/migrate/20150517191600_add_stock_counter_cache.rb
tienda-2.1.0 db/migrate/20150517191600_add_stock_counter_cache.rb
tienda-2.0.2 db/migrate/20150517191600_add_stock_counter_cache.rb
tienda-2.0.1 db/migrate/20150517191600_add_stock_counter_cache.rb