Added owning games and not willing to travel with them.

This commit is contained in:
2025-12-30 21:18:16 +01:00
parent ff88029a4b
commit 0c256846f6
45 changed files with 595 additions and 92 deletions

View File

@@ -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> {