Added owning games and not willing to travel with them.
This commit is contained in:
@@ -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!(
|
||||
|
||||
Reference in New Issue
Block a user