From b9d75e22db72aabf47815e381aa6432c1bff3877 Mon Sep 17 00:00:00 2001 From: Tolmachev Igor Date: Mon, 1 Sep 2025 13:32:05 +0300 Subject: Add account endpoints --- entity/src/users.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'entity/src') diff --git a/entity/src/users.rs b/entity/src/users.rs index b61d51b..6628c9e 100644 --- a/entity/src/users.rs +++ b/entity/src/users.rs @@ -8,8 +8,8 @@ pub struct Model { #[sea_orm(primary_key)] pub id: i64, #[sea_orm(unique)] - pub login: String, - pub password: String, + pub username: String, + pub password_hash: String, pub password_issue_date: DateTime, pub first_name: String, pub last_name: String, -- cgit v1.2.3