diff --git a/src/entity/gateway/postgres/models.rs b/src/entity/gateway/postgres/models.rs index 7d508d6..ea8fc21 100644 --- a/src/entity/gateway/postgres/models.rs +++ b/src/entity/gateway/postgres/models.rs @@ -384,6 +384,7 @@ impl Into for PgShield { pub struct PgUnit { unit: unit::UnitType, modifier: Option, + armor_slot: u8, } impl From for PgUnit { @@ -391,6 +392,7 @@ impl From for PgUnit { PgUnit { unit: other.unit, modifier: other.modifier, + armor_slot: other.armor_slot, } } } @@ -400,6 +402,7 @@ impl Into for PgUnit { unit::Unit { unit: self.unit, modifier: self.modifier, + armor_slot: self.armor_slot, } } }