From 1ea23a6d51f35cdd26f657f7d0d7b2f3fa1f5ee0 Mon Sep 17 00:00:00 2001 From: Accusys Date: Tue, 19 May 2026 18:33:21 +0800 Subject: [PATCH] fix: identity detail 502 - IdentityDetailRecord.id i32->i64 type mismatch panic - identities.id is BIGINT (8 bytes), Rust struct was i32 (4 bytes) - sqlx type mismatch caused panic, crashing backend process - Proxy returned 502 due to empty reply from crashed backend - Phase 5: 17/23 passed (was 16/23) --- src/core/db/postgres_db.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/db/postgres_db.rs b/src/core/db/postgres_db.rs index 0b307af..049a354 100644 --- a/src/core/db/postgres_db.rs +++ b/src/core/db/postgres_db.rs @@ -71,7 +71,7 @@ pub struct FileIdentityRecord { #[derive(Debug, Clone, Serialize, Deserialize, sqlx::FromRow)] pub struct IdentityDetailRecord { - pub id: i32, + pub id: i64, pub uuid: String, pub name: String, pub identity_type: Option,