diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-03-07 00:03:52 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-03-07 00:03:52 -0500 |
commit | fff1ca96f63833d7d08ca3f95fb13284e517b69d (patch) | |
tree | 5553f1e07f642adf6ac838fa3501d2dfca82f6a4 /db/migrate/20140307045941_create_pms.rb | |
parent | 88204381fbdef9d9f80d796b695b1e7e0b8f6814 (diff) |
fix the TeamUserJoinTable
Diffstat (limited to 'db/migrate/20140307045941_create_pms.rb')
-rw-r--r-- | db/migrate/20140307045941_create_pms.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20140307045941_create_pms.rb b/db/migrate/20140307045941_create_pms.rb new file mode 100644 index 0000000..93bb5c6 --- /dev/null +++ b/db/migrate/20140307045941_create_pms.rb @@ -0,0 +1,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 |