     }
 }
 
+
 // MARK: JSON
 
 // How the model converts from / to JSON.

    // Serializes the Post to the database
    func makeRow() throws -> Row {
        var row = Row()
        try row.set(Game.Keys.teamPlayers, teamPlayers.rawValue)
        try row.set(Game.Keys.startTime, startTime)
        try row.set(Game.Keys.finished, finished)
        return row

        static let finished    = "finished"
    }

    var teamPlayers: Int
    var startTime: Date
    var finished: Bool

    /// Creates a new Post
    init(teamPlayers: Int,
         startTime: Date,
         finished: Bool) {
        self.teamPlayers = teamPlayers
        self.startTime = startTime
        self.finished = finished
    }
