Sha256: 2c29740edddf764c8acee9341b390e4a348656564e15633f7674608bf5063c2a

Contents?: true

Size: 208 Bytes

Versions: 2

Compression:

Stored size: 208 Bytes

Contents

class CreateProducts < ActiveRecord::Migration
  def change
    create_table :products do |t|
      t.string :name
      t.integer :shop_id
      t.integer :category_id
      t.string :slug
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
slugs-2.0.1 test/dummy/db/migrate/20161016174202_create_products.rb
slugs-2.0.0 test/dummy/db/migrate/20161016174202_create_products.rb