From 4c56b192f0272e3eb7551cb21fe4ff94203d1613 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Mon, 16 Feb 2026 22:42:33 +0300 Subject: [PATCH] fc-common: fix `BuildStatus` sqlx rename to snake_case Signed-off-by: NotAShelf Change-Id: I00434e0156b3dc1dfd26699e4b103bd46a6a6964 --- crates/common/src/models.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/common/src/models.rs b/crates/common/src/models.rs index 3af62a7..cab2d0b 100644 --- a/crates/common/src/models.rs +++ b/crates/common/src/models.rs @@ -124,8 +124,8 @@ pub struct Build { #[derive( Debug, Clone, Copy, Serialize, Deserialize, sqlx::Type, PartialEq, Eq, )] -#[serde(rename_all = "lowercase")] -#[sqlx(type_name = "text", rename_all = "lowercase")] +#[serde(rename_all = "snake_case")] +#[sqlx(type_name = "text", rename_all = "snake_case")] pub enum BuildStatus { Pending, Running,