体验新版 GitCode,发现更多精彩内容 >>
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