Sha256: 2e56fad56f73f2447ae9813ff5b80507835925d38560524e7c26d1c59d35d8d9

Contents?: true

Size: 224 Bytes

Versions: 2

Compression:

Stored size: 224 Bytes

Contents

class CreateComments < ActiveRecord::Migration
  def self.up
    create_table :comments do |t|
      t.string :subject
      t.text :body

      t.timestamps
    end
  end

  def self.down
    drop_table :comments
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
remotipart-1.4.4 spec/dummy_app/db/migrate/20110209210252_create_comments.rb
remotipart-1.4.3 spec/dummy_app/db/migrate/20110209210252_create_comments.rb