Sha256: d3cccd1b6d3af9127c3fc7ca2567959c9dd02dadcf1c804a67c9c5c2c9e77489

Contents?: true

Size: 234 Bytes

Versions: 368

Compression:

Stored size: 234 Bytes

Contents

class WeNeedReminders < ActiveRecord::Migration
  def self.up
    create_table("reminders") do |t|
      t.column :content, :text
      t.column :remind_at, :datetime
    end
  end

  def self.down
    drop_table "reminders"
  end
end

Version data entries

368 entries across 119 versions & 24 rubygems

Version Path
activerecord-2.3.16 test/migrations/duplicate/2_we_need_reminders.rb
activerecord-2.3.16 test/migrations/valid/2_we_need_reminders.rb
activerecord-2.3.15 test/migrations/missing/3_we_need_reminders.rb
activerecord-2.3.15 test/migrations/valid/2_we_need_reminders.rb
activerecord-2.3.15 test/migrations/duplicate/2_we_need_reminders.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/activerecord-2.3.14/test/migrations/valid/2_we_need_reminders.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/activerecord-2.3.14/test/migrations/missing/3_we_need_reminders.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/activerecord-2.3.14/test/migrations/duplicate/2_we_need_reminders.rb
vanity-1.7.1 vendor/ruby/1.9.1/gems/activerecord-2.3.12/test/migrations/duplicate/2_we_need_reminders.rb
vanity-1.7.1 vendor/ruby/1.9.1/gems/activerecord-2.3.12/test/migrations/missing/3_we_need_reminders.rb
vanity-1.7.1 vendor/ruby/1.9.1/gems/activerecord-2.3.12/test/migrations/valid/2_we_need_reminders.rb
activerecord-2.3.14 test/migrations/missing/3_we_need_reminders.rb
activerecord-2.3.14 test/migrations/valid/2_we_need_reminders.rb
activerecord-2.3.14 test/migrations/duplicate/2_we_need_reminders.rb
kajam-1.0.3.rc2 vendor/rails/activerecord/test/migrations/duplicate/2_we_need_reminders.rb
kajam-1.0.3.rc2 vendor/rails/activerecord/test/migrations/valid/2_we_need_reminders.rb
kajam-1.0.3.rc2 vendor/rails/activerecord/test/migrations/missing/3_we_need_reminders.rb
activerecord-2.3.12 test/migrations/missing/3_we_need_reminders.rb
activerecord-2.3.12 test/migrations/duplicate/2_we_need_reminders.rb
activerecord-2.3.12 test/migrations/valid/2_we_need_reminders.rb