Make invitation model inherit from message model.
Create notification model. Games will create notifications for every user in both teams after they are saved
Notifications are created properly.
Add has_new_notification field to users table
Change has_new_notification to has_new_message. Invitations and Notifications both set it to true