Sha256: 34b3d5cdf79934a17c91b06e07f54b8f0b50dfdf84d1d2d236046a13faaf75b3

Contents?: true

Size: 499 Bytes

Versions: 3

Compression:

Stored size: 499 Bytes

Contents

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 db/migrate/20150409165843_create_tb_commerce_product_option_sets.rb
tb_commerce-0.0.3 db/migrate/20150409165843_create_tb_commerce_product_option_sets.rb
tb_commerce-0.0.2 db/migrate/20150409165843_create_tb_commerce_product_option_sets.rb