aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/migrations/valid_with_timestamps/20100201010101_valid_with_timestamps_we_need_reminders.rb
blob: 4a599211369341c8393b8164dbc166368211880b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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