Sha256: e14d56bd0a4654c23c63f8ce3e0ba89ac649c67f63265d68e670d98918068d20

Contents?: true

Size: 238 Bytes

Versions: 15

Compression:

Stored size: 238 Bytes

Contents

class CreateCategoryItems < ActiveRecord::Migration[5.0]
  def change
    create_table :category_items do |t|
      t.string :name
      t.integer :category_id
      t.integer :product_id

      t.timestamps null: false
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
thermos-1.0.2 test/dummy/db/migrate/20160325220006_create_category_items.rb
thermos-1.0.1 test/dummy/db/migrate/20160325220006_create_category_items.rb
thermos-1.0.0 test/dummy/db/migrate/20160325220006_create_category_items.rb
thermos-0.6.0 test/dummy/db/migrate/20160325220006_create_category_items.rb
thermos-0.5.2 test/dummy/db/migrate/20160325220006_create_category_items.rb
thermos-0.5.1 test/dummy/db/migrate/20160325220006_create_category_items.rb
thermos-0.5.0 test/dummy/db/migrate/20160325220006_create_category_items.rb
thermos-0.4.1 test/dummy/db/migrate/20160325220006_create_category_items.rb
thermos-0.4.0 test/dummy/db/migrate/20160325220006_create_category_items.rb
thermos-0.3.0 test/dummy/db/migrate/20160325220006_create_category_items.rb
thermos-0.2.1 test/dummy/db/migrate/20160325220006_create_category_items.rb
thermos-0.2.0 test/dummy/db/migrate/20160325220006_create_category_items.rb
thermos-0.1.1 test/dummy/db/migrate/20160325220006_create_category_items.rb
thermos-0.1.0 test/dummy/db/migrate/20160325220006_create_category_items.rb
thermos-0.0.8 test/dummy/db/migrate/20160325220006_create_category_items.rb