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