Sha256: 400e8b3c45bf38e890d06000b1e1be2f3fa89df6e5a4e1d2feb32bde0c38e94d

Contents?: true

Size: 298 Bytes

Versions: 3

Compression:

Stored size: 298 Bytes

Contents

class CreateBlogrComments < ActiveRecord::Migration
  def change
    create_table :blogr_comments do |t|
      t.belongs_to :post, index: true
      t.belongs_to :user, index: true
      t.text :content
      t.string :author_name
      t.string :author_email

      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
blogr-0.0.8 db/migrate/20131204185931_create_blogr_comments.rb
blogr-0.0.7 db/migrate/20131204185931_create_blogr_comments.rb
blogr-0.0.6 db/migrate/20131204185931_create_blogr_comments.rb