Sha256: 5e64af7673bdef40be4fbc271ff207f867f55fd6358697897e58de9fca01e523

Contents?: true

Size: 456 Bytes

Versions: 3

Compression:

Stored size: 456 Bytes

Contents

class CreateTbCommerceProductCustomizations < ActiveRecord::Migration
  def change
    create_table :tb_commerce_product_customizations do |t|
      t.references :tb_commerce_product, index: {:name => 'tb_commerce_product_customizations_product_id'}, foreign_key: true
      t.references :tb_commerce_customization, index: {:name => 'tb_commerce_product_customizations_customization_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/20150413194434_create_tb_commerce_product_customizations.rb
tb_commerce-0.0.3 db/migrate/20150413194434_create_tb_commerce_product_customizations.rb
tb_commerce-0.0.2 db/migrate/20150413194434_create_tb_commerce_product_customizations.rb