Sha256: c313e994c6ca60c9d3d19d42285dac2fdfac4c6da6a1d0c13ccaaddbb2927eb4
Contents?: true
Size: 516 Bytes
Versions: 3
Compression:
Stored size: 516 Bytes
Contents
# This migration comes from tb_commerce_engine (originally 20150402151516) class CreateTbCommerceProductSkus < ActiveRecord::Migration def change create_table :tb_commerce_product_skus do |t| t.references :tb_commerce_product, :null => false, :index => true, :foreign_key => true t.string :sku, :null => false, :index => {:unique => true} t.decimal :add_price, :precision => 8, :scale => 2, :default => 0 t.integer :stock, :default => 0 t.timestamps null: false end end end
Version data entries
3 entries across 3 versions & 1 rubygems