7 lines
161 B
Go

package arn
// Save saves the notification in the database.
func (notification *Notification) Save() {
DB.Set("Notification", notification.ID, notification)
}