Sha256: f9d30dbcbd5c19657be2392874dcf0a14f8a11c22420b31054d47baf244c3369

Contents?: true

Size: 574 Bytes

Versions: 3

Compression:

Stored size: 574 Bytes

Contents

# This migration comes from tb_commerce_engine (originally 20150409165843)
class CreateTbCommerceProductOptionSets < ActiveRecord::Migration
  def change
    create_table :tb_commerce_product_option_sets do |t|
      t.references :tb_commerce_product, :null => false, :index => {:name => 'index_tb_commerce_product_option_sets_on_product_id'}, :foreign_key => true
      t.references :tb_commerce_option_set, :null => false, :index => {:name => 'index_tb_commerce_product_option_sets_on_option_set_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/20150409180570_create_tb_commerce_product_option_sets.tb_commerce_engine.rb
tb_commerce-0.0.3 spec/dummy/db/migrate/20150409180570_create_tb_commerce_product_option_sets.tb_commerce_engine.rb
tb_commerce-0.0.2 spec/dummy/db/migrate/20150409180570_create_tb_commerce_product_option_sets.tb_commerce_engine.rb