aboutsummaryrefslogblamecommitdiffstats
path: root/activerecord/test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
blob: 94551e820869db228f8a3aeff59a2fa108341b4e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13

                             
                                                                           









                                    
   
# 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