Sha256: 3a4a8c327a68a0355ef590337c0a2554ccea034a12148bb5c447083b573ff94c

Contents?: true

Size: 294 Bytes

Versions: 6

Compression:

Stored size: 294 Bytes

Contents

# frozen_string_literal: true

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 & 2 rubygems

Version Path
ibm_db-5.5.0 test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
ibm_db-5.4.1 test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
ibm_db-5.4.0 test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
ibm_db-5.3.2 test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
ibm_db-5.3.1 test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
ruby-on-quails-0.1.0 activerecord/test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb