Sha256: 0ef65179d3859c6a1f6ab566a9b60a068bf4e9856a9d5c38eed93e7aec9fdadc

Contents?: true

Size: 556 Bytes

Versions: 3

Compression:

Stored size: 556 Bytes

Contents

# This migration comes from tb_commerce_engine (originally 20150409172713)
class CreateTbCommerceProductSkuOptions < ActiveRecord::Migration
  def change
    create_table :tb_commerce_product_sku_options do |t|
      t.references :tb_commerce_product_sku, null: false, index: {:name => 'index_tb_commerce_product_sku_options_on_product_sku_id'}, foreign_key: true
      t.references :tb_commerce_option, null: false, index: {:name => 'index_tb_commerce_product_sku_options_on_option_id'}, foreign_key: true
      t.timestamps null: false
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tb_commerce-0.0.4 spec/dummy/db/migrate/20150409180571_create_tb_commerce_product_sku_options.tb_commerce_engine.rb
tb_commerce-0.0.3 spec/dummy/db/migrate/20150409180571_create_tb_commerce_product_sku_options.tb_commerce_engine.rb
tb_commerce-0.0.2 spec/dummy/db/migrate/20150409180571_create_tb_commerce_product_sku_options.tb_commerce_engine.rb