Sha256: aec856aaf7e0ae4f5292db25e544c1a6b8f2a3f48468fac06ac821bbe397c7d4

Contents?: true

Size: 243 Bytes

Versions: 8

Compression:

Stored size: 243 Bytes

Contents

class CreateComments < ActiveRecord::Migration
  def change
    create_table :comments do |t|
      t.integer :commentable_id
      t.string :commentable_type
      t.integer :author_id
      t.text :body

      t.timestamps
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
seymour-0.0.9 spec/dummy/db/migrate/20111015001158_create_comments.rb
seymour-0.0.8 spec/dummy/db/migrate/20111015001158_create_comments.rb
seymour-0.0.7 spec/dummy/db/migrate/20111015001158_create_comments.rb
seymour-0.0.6 spec/dummy/db/migrate/20111015001158_create_comments.rb
seymour-0.0.5 spec/dummy/db/migrate/20111015001158_create_comments.rb
seymour-0.0.4 spec/dummy/db/migrate/20111015001158_create_comments.rb
seymour-0.0.3 spec/dummy/db/migrate/20111015001158_create_comments.rb
seymour-0.0.2 spec/dummy/db/migrate/20111015001158_create_comments.rb