diff --git a/upub/core/src/model/job.rs b/upub/core/src/model/job.rs index b46eecc2..970af8d2 100644 --- a/upub/core/src/model/job.rs +++ b/upub/core/src/model/job.rs @@ -1,7 +1,7 @@ use sea_orm::entity::prelude::*; #[derive(Debug, Clone, Copy, PartialEq, Eq, EnumIter, DeriveActiveEnum)] -#[sea_orm(rs_type = "i32", db_type = "Integer")] +#[sea_orm(rs_type = "i16", db_type = "SmallInteger")] pub enum JobType { Inbound = 1, Outbound = 2,