Sha256: 71a690c329bb923e039ab5f3b4043ada3dd692be6553d58650ace9af53d6bad4

Contents?: true

Size: 203 Bytes

Versions: 3

Compression:

Stored size: 203 Bytes

Contents

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

      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
garage-doorkeeper-2.0.0 spec/dummy/db/migrate/20130508032709_create_comments.rb
garage-doorkeeper-1.0.0 spec/dummy/db/migrate/20130508032709_create_comments.rb
choo_choo-0.0.1 spec/dummy/db/migrate/20140310145716_create_comments.rb