Sha256: c92f9db21869e924fb50adde8daa5397191fe10f744008ee51c612191fb1f15c

Contents?: true

Size: 122 Bytes

Versions: 7

Compression:

Stored size: 122 Bytes

Contents

class AddCategoryIdToPosts < ActiveRecord::Migration
  def change
    add_column :posts, :category_id, :integer
  end
end

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
vinted-crummy-1.11.0 example/db/migrate/20111104104040_add_category_id_to_posts.rb
crummy-schema-dot-org-1.9.0 example/db/migrate/20111104104040_add_category_id_to_posts.rb
vinted-crummy-1.10.0 example/db/migrate/20111104104040_add_category_id_to_posts.rb
vinted-crummy-1.9.0 example/db/migrate/20111104104040_add_category_id_to_posts.rb
crummy-1.8.0 example/db/migrate/20111104104040_add_category_id_to_posts.rb
crummy-1.7.2 example/db/migrate/20111104104040_add_category_id_to_posts.rb
crummy-1.7.1 example/db/migrate/20111104104040_add_category_id_to_posts.rb