Sha256: 36380eac89d84dae0b75def64309f14b1fc60b48857ef2ef2f3957c904201ffb

Contents?: true

Size: 192 Bytes

Versions: 6

Compression:

Stored size: 192 Bytes

Contents

class AddShouts < ActiveRecord::Migration
  def self.up
    create_table :shouts do |t|
      t.string :body
      t.timestamps
    end
  end

  def self.down
    drop_table :shouts
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
nyny-2.0.0 examples/active_record/db/migrate/20130606133756_add_shouts.rb
nyny-1.0.2 examples/active_record/db/migrate/20130606133756_add_shouts.rb
nyny-1.0.1 examples/active_record/db/migrate/20130606133756_add_shouts.rb
nyny-1.0.0 examples/active_record/db/migrate/20130606133756_add_shouts.rb
nyny-1.0.0.pre1 examples/active_record/db/migrate/20130606133756_add_shouts.rb
little_frankie-1.0.0.pre1 examples/active_record/db/migrate/20130606133756_add_shouts.rb