aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/migrations/valid/2_we_need_reminders.rb
blob: e69296a31f3633084473fecdd1a6629caad2e773 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true
class WeNeedReminders < 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