Sha256: b2eed4aa4114410a4d4b3a0e3570af55f7ea51355cb603eebb713567441b8a2d
Contents?: true
Size: 290 Bytes
Versions: 2
Compression:
Stored size: 290 Bytes
Contents
class CreateCategoryProducts < ActiveRecord::Migration[6.0] def change create_table :rails_marketplace_category_products do |t| t.belongs_to :product, :index => true t.belongs_to :category, :index => true t.timestamps null: false end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_marketplace-0.0.2 | db/migrate/20161014013032_create_category_products.rb |
rails_marketplace-0.0.1 | db/migrate/20161014013032_create_category_products.rb |