1
0
Fork 0
forked from alemi/upub

fix: use small integer like in db

This commit is contained in:
əlemi 2024-06-07 07:12:48 +02:00
parent 315e6bea4a
commit d000b57ff1
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -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,