instiki/vendor/rails/activerecord/test/migrations/missing/3_we_need_reminders.rb

12 lines
234 B
Ruby
Raw Normal View History

2007-02-10 00:12:31 +01:00
class WeNeedReminders < ActiveRecord::Migration
def self.up
create_table("reminders") do |t|
t.column :content, :text
t.column :remind_at, :datetime
end
end
2007-02-10 00:12:31 +01:00
def self.down
drop_table "reminders"
end
end