Sha256: aa07c77b19ff0dfce46ae03c4684591842555e0a315e3f678f49089c22d5b878

Contents?: true

Size: 215 Bytes

Versions: 7

Compression:

Stored size: 215 Bytes

Contents

class CreateProductHasCategories < ActiveRecord::Migration
  def change
    create_table :product_has_categories do |t|
      t.integer :product_id
      t.integer :category_id

      t.timestamps
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
token_field-2.0.0 spec/dummy/db/migrate/20121012235509_create_product_has_categories.rb
token_field-1.1.0 spec/dummy/db/migrate/20121012235509_create_product_has_categories.rb
token_field-1.0.1 spec/dummy/db/migrate/20121012235509_create_product_has_categories.rb
token_field-1.0.0 spec/dummy/db/migrate/20121012235509_create_product_has_categories.rb
token_field-0.0.3 spec/dummy/db/migrate/20121012235509_create_product_has_categories.rb
token_field-0.0.2 spec/dummy/db/migrate/20121012235509_create_product_has_categories.rb
token_field-0.0.1 spec/dummy/db/migrate/20121012235509_create_product_has_categories.rb