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

@@ -69,6 +69,7 @@ diesel::table! {
owned_game (user_id, game_id) {
user_id -> Uuid,
game_id -> Uuid,
location_id -> Nullable<Uuid>,
}
}
@@ -99,6 +100,7 @@ diesel::joinable!(location_owner -> client (user_id));
diesel::joinable!(location_owner -> location (location_id));
diesel::joinable!(owned_game -> client (user_id));
diesel::joinable!(owned_game -> game (game_id));
diesel::joinable!(owned_game -> location (location_id));
diesel::joinable!(pwd -> client (user_id));
diesel::allow_tables_to_appear_in_same_query!(