fix: use small integer like in db
This commit is contained in:
parent
315e6bea4a
commit
d000b57ff1
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue