fc-common: fix BuildStatus sqlx rename to snake_case
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I00434e0156b3dc1dfd26699e4b103bd46a6a6964
This commit is contained in:
parent
235c9834b7
commit
4c56b192f0
1 changed files with 2 additions and 2 deletions
|
|
@ -124,8 +124,8 @@ pub struct Build {
|
||||||
#[derive(
|
#[derive(
|
||||||
Debug, Clone, Copy, Serialize, Deserialize, sqlx::Type, PartialEq, Eq,
|
Debug, Clone, Copy, Serialize, Deserialize, sqlx::Type, PartialEq, Eq,
|
||||||
)]
|
)]
|
||||||
#[serde(rename_all = "lowercase")]
|
#[serde(rename_all = "snake_case")]
|
||||||
#[sqlx(type_name = "text", rename_all = "lowercase")]
|
#[sqlx(type_name = "text", rename_all = "snake_case")]
|
||||||
pub enum BuildStatus {
|
pub enum BuildStatus {
|
||||||
Pending,
|
Pending,
|
||||||
Running,
|
Running,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue