From 8ce392ba8c79a49ed095839801aac5979a45ad0d Mon Sep 17 00:00:00 2001 From: Chris Tsang Date: Fri, 15 Oct 2021 23:08:55 +0800 Subject: [PATCH] #249 Build with mock + macros --- src/tests_cfg/cake_filling_price.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tests_cfg/cake_filling_price.rs b/src/tests_cfg/cake_filling_price.rs index 12779d14..6d5a9b38 100644 --- a/src/tests_cfg/cake_filling_price.rs +++ b/src/tests_cfg/cake_filling_price.rs @@ -18,6 +18,7 @@ impl EntityName for Entity { pub struct Model { pub cake_id: i32, pub filling_id: i32, + #[cfg(feature = "with-decimal")] pub price: Decimal, #[sea_orm(ignore)] pub ignored_attr: i32,