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.10.12 db/migrate/20131205114901_create_comments.rb
object_attorney-2.10.11 db/migrate/20131205114901_create_comments.rb
object_attorney-2.10.10 db/migrate/20131205114901_create_comments.rb
object_attorney-2.10.9 db/migrate/20131205114901_create_comments.rb
object_attorney-2.10.7 db/migrate/20131205114901_create_comments.rb
object_attorney-2.10.6 db/migrate/20131205114901_create_comments.rb
object_attorney-2.10.5 db/migrate/20131205114901_create_comments.rb
object_attorney-2.10.3 db/migrate/20131205114901_create_comments.rb
object_attorney-2.10.2 db/migrate/20131205114901_create_comments.rb
object_attorney-2.10.1 db/migrate/20131205114901_create_comments.rb
object_attorney-2.9.4 db/migrate/20131205114901_create_comments.rb
object_attorney-2.9.3 db/migrate/20131205114901_create_comments.rb
object_attorney-2.9.2 db/migrate/20131205114901_create_comments.rb
object_attorney-2.9.0 db/migrate/20131205114901_create_comments.rb
object_attorney-2.8.1 db/migrate/20131205114901_create_comments.rb
object_attorney-2.8.0 db/migrate/20131205114901_create_comments.rb
object_attorney-2.6.12 db/migrate/20131205114901_create_comments.rb
object_attorney-2.6.11 db/migrate/20131205114901_create_comments.rb
object_attorney-2.6.10 db/migrate/20131205114901_create_comments.rb
object_attorney-2.6.9 db/migrate/20131205114901_create_comments.rb