12 lines
236 B
Ruby
12 lines
236 B
Ruby
|
class WeNeedReminders < 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
|