adding messages mvc to allow users to send messages.

This commit is contained in:
Mike McCabe
2013-10-11 16:03:20 -04:00
parent dbd0c2548d
commit 8686f6b9d3
13 changed files with 312 additions and 2 deletions
@@ -0,0 +1,12 @@
class CreateMessages < ActiveRecord::Migration
def change
create_table :messages do |t|
t.integer :creator_id
t.integer :receiver_id
t.text :message
t.boolean :read
t.timestamps
end
end
end