Sha256: 19444aa3131e75dc805370d8baeb477d6d15caa71c46059b97082d460c9b4fb3

Contents?: true

Size: 254 Bytes

Versions: 14

Compression:

Stored size: 254 Bytes

Contents

class ValidWithTimestampsWeNeedReminders < 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

14 entries across 14 versions & 3 rubygems

Version Path
ibm_db-3.0.4-x86-mingw32 test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
ibm_db-3.0.4 test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
ibm_db-3.0.3-x86-mingw32 test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
ibm_db-3.0.3 test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
ibm_db-3.0.2-x86-mingw32 test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
ibm_db-3.0.2 test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
activejob-lock-0.0.2 rails/activerecord/test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
ibm_db-3.0.1 test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
ibm_db-3.0.1-x86-mingw32 test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
activejob-lock-0.0.1 rails/activerecord/test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
activerecord-nuodb-adapter-2.0.3 test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
activerecord-nuodb-adapter-2.0 test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
activerecord-nuodb-adapter-1.1 test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
activerecord-nuodb-adapter-1.0.4 test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb