diff options
author | AndrewMurrell <amurrel@purdue.edu> | 2014-03-03 11:40:05 -0500 |
---|---|---|
committer | AndrewMurrell <amurrel@purdue.edu> | 2014-03-03 11:40:05 -0500 |
commit | b59aa7c21ae04a399639209717b980d731c5bf13 (patch) | |
tree | 1458b7c7deb250c460850f46b204891532ae967c /db/migrate/20140304020946_create_pms.rb | |
parent | b21c833a0974b79585d94e2afa4db980a5061123 (diff) |
Some of the stuff I forgot to commit last night. Updated and cleaned up some pages as well as getting the gameType listing to work.
Diffstat (limited to 'db/migrate/20140304020946_create_pms.rb')
-rw-r--r-- | db/migrate/20140304020946_create_pms.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20140304020946_create_pms.rb b/db/migrate/20140304020946_create_pms.rb new file mode 100644 index 0000000..93bb5c6 --- /dev/null +++ b/db/migrate/20140304020946_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 |