Sha256: 2d69611928f906611fc72b30e0036d895b0265f345b7c22aa435fe02d73aa225

Contents?: true

Size: 263 Bytes

Versions: 8

Compression:

Stored size: 263 Bytes

Contents

class ValidWithTimestampsWeNeedReminders < ActiveRecord::Migration::Current
  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

8 entries across 8 versions & 1 rubygems

Version Path
ibm_db-5.2.0 test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
ibm_db-5.1.0 test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
ibm_db-5.0.5 test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
ibm_db-5.0.4 test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
ibm_db-5.0.3 test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
ibm_db-5.0.2 test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
ibm_db-4.0.0-x86-mingw32 test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
ibm_db-4.0.0 test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb