summaryrefslogtreecommitdiff
path: root/db/migrate/20140410213805_create_pms.rb
blob: 93bb5c6c4aaa2266e1d2aabdfde78692f5993b32 (plain)
1
2
3
4
5
6
7
8
9
10
11
class CreatePms < ActiveRecord::Migration
  def change
    create_table :pms do |t|
      t.references :author, index: true
      t.references :recipient, index: true
      t.text :message

      t.timestamps
    end
  end
end