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
simply_stated-0.0.5 vendor/gems/ruby/1.8/gems/activerecord-2.3.5/test/migrations/missing/3_we_need_reminders.rb
simply_stated-0.0.4 vendor/gems/ruby/1.8/gems/activerecord-2.3.5/test/migrations/valid/2_we_need_reminders.rb
simply_stated-0.0.4 vendor/gems/ruby/1.8/gems/activerecord-2.3.5/test/migrations/missing/3_we_need_reminders.rb
simply_stated-0.0.4 vendor/gems/ruby/1.8/gems/activerecord-2.3.5/test/migrations/duplicate/2_we_need_reminders.rb
factorylabs-castronaut-0.7.5 vendor/activerecord/test/migrations/valid/2_we_need_reminders.rb
factorylabs-castronaut-0.7.5 vendor/activerecord/test/migrations/duplicate/2_we_need_reminders.rb
factorylabs-castronaut-0.7.5 vendor/activerecord/test/migrations/missing/3_we_need_reminders.rb
ginst-2009.12.8 vendor/rails/activerecord/test/migrations/missing/3_we_need_reminders.rb
ginst-2009.12.8 vendor/rails/activerecord/test/migrations/valid/2_we_need_reminders.rb
ginst-2009.12.8 vendor/rails/activerecord/test/migrations/duplicate/2_we_need_reminders.rb
activerecord-2.3.5 test/migrations/missing/3_we_need_reminders.rb
activerecord-2.3.5 test/migrations/valid/2_we_need_reminders.rb
activerecord-2.3.5 test/migrations/duplicate/2_we_need_reminders.rb
ginst-2009.11.24 vendor/rails/activerecord/test/migrations/valid/2_we_need_reminders.rb
ginst-2009.11.24 vendor/rails/activerecord/test/migrations/missing/3_we_need_reminders.rb
ginst-2009.11.24 vendor/rails/activerecord/test/migrations/duplicate/2_we_need_reminders.rb
ginst-2009.11.23 vendor/rails/activerecord/test/migrations/valid/2_we_need_reminders.rb
ginst-2009.11.23 vendor/rails/activerecord/test/migrations/duplicate/2_we_need_reminders.rb
ginst-2009.11.23 vendor/rails/activerecord/test/migrations/missing/3_we_need_reminders.rb
ginst-2.0.1 vendor/rails/activerecord/test/migrations/valid/2_we_need_reminders.rb