Sha256: e6bebcf6896de5a5b1b52e523f13a0b5f24087b0822e2b987bbdd5770b212276

Contents?: true

Size: 275 Bytes

Versions: 6

Compression:

Stored size: 275 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

6 entries across 6 versions & 1 rubygems

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