Sha256: 5bae86244bed5c756fff046befe63ce6868d765f2a3e0a0d454b9841b49d253c

Contents?: true

Size: 211 Bytes

Versions: 6

Compression:

Stored size: 211 Bytes

Contents

class CreateComments < ActiveRecord::Migration
  def self.up
    create_table :comments do |t|
      t.string :header
      t.string :description
    end
  end

  def self.down
    drop_table :comments
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
also_migrate_nj-0.3.6 spec/db/migrate/003_create_comments.rb
also_migrate-0.3.6 spec/db/migrate/003_create_comments.rb
also_migrate-0.3.5 spec/db/migrate/003_create_comments.rb
also_migrate-0.3.4 spec/db/migrate/003_create_comments.rb
also_migrate-0.3.3 spec/db/migrate/003_create_comments.rb
also_migrate-0.3.2 spec/db/migrate/003_create_comments.rb