instiki/vendor/rails/activerecord/test/migrations/duplicate/2_we_need_reminders.rb

12 lines
234 B
Ruby
Raw Normal View History

2007-01-22 14:43:50 +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-01-22 14:43:50 +01:00
def self.down
drop_table "reminders"
end
end