diff options
Diffstat (limited to 'planetwars-server/src/db_types.rs')
-rw-r--r-- | planetwars-server/src/db_types.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/planetwars-server/src/db_types.rs b/planetwars-server/src/db_types.rs index 1b99e49..29b1e9b 100644 --- a/planetwars-server/src/db_types.rs +++ b/planetwars-server/src/db_types.rs @@ -2,7 +2,7 @@ use diesel_derive_enum::DbEnum; use serde::{Deserialize, Serialize}; #[derive(DbEnum, Debug, Clone, Copy, Serialize, Deserialize, PartialEq, Eq, Hash)] -#[DieselType = "Match_state"] +#[DieselTypePath = "crate::schema::sql_types::MatchState"] pub enum MatchState { Playing, |