aboutsummaryrefslogtreecommitdiff
path: root/planetwars-server/src/db_types.rs
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-10-12 22:52:15 +0200
committerIlion Beyst <ilion.beyst@gmail.com>2022-10-12 22:52:15 +0200
commitae57359353cf31ff374a8932999742920878bf00 (patch)
tree0db27d394a2a61a5cc94e73014c82954829c1338 /planetwars-server/src/db_types.rs
parented016773b112460ebbf0ff023b0915545229ed41 (diff)
downloadplanetwars.dev-ae57359353cf31ff374a8932999742920878bf00.tar.xz
planetwars.dev-ae57359353cf31ff374a8932999742920878bf00.zip
upgrade to diesel 2.0
Diffstat (limited to 'planetwars-server/src/db_types.rs')
-rw-r--r--planetwars-server/src/db_types.rs2
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,