feat: Add optional display name to user profile with corresponding API and UI updates

This commit is contained in:
2025-12-19 18:07:01 +05:30
parent f2f2d1dec7
commit d981ff37fb
4 changed files with 44 additions and 5 deletions

View File

@@ -18,6 +18,9 @@ pub struct Model {
/// Foreign key to roles table
pub role_id: i32,
/// Display name (optional, separate from username)
pub name: Option<String>,
// Profile fields
/// Height in centimeters
pub height_cm: Option<f32>,