Sha256: 2df35b1332d355b0d62fb45e1ddadfe50f37ddaaab90acb1901b0b3070fc09fc

Contents?: true

Size: 128 Bytes

Versions: 15

Compression:

Stored size: 128 Bytes

Contents

class AddCategoryIdToProducts < ActiveRecord::Migration
  def change
    add_column :products, :category_id, :integer
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
restspec-0.3.2 examples/store-api/db/migrate/20141205171140_add_category_id_to_products.rb
restspec-0.3.1 examples/store-api/db/migrate/20141205171140_add_category_id_to_products.rb
restspec-0.3.0 examples/store-api/db/migrate/20141205171140_add_category_id_to_products.rb
restspec-0.2.6 examples/store-api/db/migrate/20141205171140_add_category_id_to_products.rb
restspec-0.2.5 examples/store-api/db/migrate/20141205171140_add_category_id_to_products.rb
restspec-0.2.4 examples/store-api/db/migrate/20141205171140_add_category_id_to_products.rb
restspec-0.2.3 examples/store-api/db/migrate/20141205171140_add_category_id_to_products.rb
restspec-0.2.2 examples/store-api/db/migrate/20141205171140_add_category_id_to_products.rb
restspec-0.2.1 examples/store-api/db/migrate/20141205171140_add_category_id_to_products.rb
restspec-0.2 examples/store-api/db/migrate/20141205171140_add_category_id_to_products.rb
restspec-0.1 examples/store-api/db/migrate/20141205171140_add_category_id_to_products.rb
restspec-0.0.4 examples/store-api/db/migrate/20141205171140_add_category_id_to_products.rb
restspec-0.0.3 examples/store-api/db/migrate/20141205171140_add_category_id_to_products.rb
restspec-0.0.2 examples/store-api/db/migrate/20141205171140_add_category_id_to_products.rb
restspec-0.0.1 examples/store-api/db/migrate/20141205171140_add_category_id_to_products.rb