Sha256: b14b54f32fdc8a7decd7b82787f0313149514bf66c997fbb6e90356898aac66f

Contents?: true

Size: 214 Bytes

Versions: 47

Compression:

Stored size: 214 Bytes

Contents

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

  def down
    drop_table :comments
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
object_attorney-2.6.1 db/migrate/20131205114901_create_comments.rb
object_attorney-2.6.0 db/migrate/20131205114901_create_comments.rb
object_attorney-2.5.9 db/migrate/20131205114901_create_comments.rb
object_attorney-2.5.7 db/migrate/20131205114901_create_comments.rb
object_attorney-2.5.6 db/migrate/20131205114901_create_comments.rb
object_attorney-2.5.5 db/migrate/20131205114901_create_comments.rb
object_attorney-2.5.4 db/migrate/20131205114901_create_comments.rb
object_attorney-2.5.3 db/migrate/20131205114901_create_comments.rb
object_attorney-2.5.2 db/migrate/20131205114901_create_comments.rb
object_attorney-2.5.0 db/migrate/20131205114901_create_comments.rb
object_attorney-2.4.0 db/migrate/20131205114901_create_comments.rb
object_attorney-2.2.13 db/migrate/20131205114901_create_comments.rb
object_attorney-2.2.12 db/migrate/20131205114901_create_comments.rb
object_attorney-2.2.11 db/migrate/20131205114901_create_comments.rb
object_attorney-2.2.10 db/migrate/20131205114901_create_comments.rb
object_attorney-2.2.9 db/migrate/20131205114901_create_comments.rb
object_attorney-2.2.8 db/migrate/20131205114901_create_comments.rb
object_attorney-2.2.7 db/migrate/20131205114901_create_comments.rb
object_attorney-2.2.6 db/migrate/20131205114901_create_comments.rb
object_attorney-2.2.5 db/migrate/20131205114901_create_comments.rb