Sha256: cd89132e3e84e695562e74161f12135783a71031bca9d9488ea2febce6be5d05

Contents?: true

Size: 176 Bytes

Versions: 1

Compression:

Stored size: 176 Bytes

Contents

class CreateComments < ActiveRecord::Migration
  def change
    create_table :comments do |t|
      t.integer :post_id
      t.text :body

      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cache_cow-0.0.1 spec/dummy/db/migrate/20111026035754_create_comments.rb