forked from Roflin/gamenight
Added owning games and not willing to travel with them.
This commit is contained in:
@@ -12,6 +12,7 @@ use uuid::Uuid;
|
||||
pub struct OwnedGame {
|
||||
pub user_id: Uuid,
|
||||
pub game_id: Uuid,
|
||||
pub location_id: Option<Uuid>
|
||||
}
|
||||
|
||||
pub fn own_game(conn: &mut PgConnection, owned_game: OwnedGame) -> Result<usize, DatabaseError> {
|
||||
|
||||
Reference in New Issue
Block a user