Sha256: 90383107d3f3ca3b99fe1b63b02ebf8d217bbc9ca2c996ac3e7d136b9d0b5a1f
Contents?: true
Size: 401 Bytes
Versions: 5
Compression:
Stored size: 401 Bytes
Contents
class CreateComableStocks < ActiveRecord::Migration def change create_table :comable_stocks do |t| t.integer :comable_product_id t.integer :product_id_num t.string :code, null: false t.integer :quantity t.string :sku_h_choice_name t.string :sku_v_choice_name end add_index :comable_stocks, :code, unique: true, name: :comable_stocks_idx_01 end end
Version data entries
5 entries across 5 versions & 1 rubygems