1 2 3 4 5 6 7 8 9 10 11
class CreatePms < ActiveRecord::Migration def change create_table :pms do |t| t.reference :author t.reference :recipient t.text :message t.timestamps end end end