From e26f13c8bba24e6f966888d5909f2803665c55a0 Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Fri, 26 Aug 2022 19:21:30 +0200 Subject: add maps to matches api --- planetwars-server/src/db/matches.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'planetwars-server/src/db/matches.rs') diff --git a/planetwars-server/src/db/matches.rs b/planetwars-server/src/db/matches.rs index e2db0c1..86939be 100644 --- a/planetwars-server/src/db/matches.rs +++ b/planetwars-server/src/db/matches.rs @@ -21,6 +21,7 @@ pub struct NewMatch<'a> { pub state: MatchState, pub log_path: &'a str, pub is_public: bool, + pub map_id: Option, } #[derive(Insertable)] -- cgit v1.2.3