diff options
Diffstat (limited to 'entity/src')
| -rw-r--r-- | entity/src/users.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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 { | |||
| 8 | #[sea_orm(primary_key)] | 8 | #[sea_orm(primary_key)] |
| 9 | pub id: i64, | 9 | pub id: i64, |
| 10 | #[sea_orm(unique)] | 10 | #[sea_orm(unique)] |
| 11 | pub login: String, | 11 | pub username: String, |
| 12 | pub password: String, | 12 | pub password_hash: String, |
| 13 | pub password_issue_date: DateTime, | 13 | pub password_issue_date: DateTime, |
| 14 | pub first_name: String, | 14 | pub first_name: String, |
| 15 | pub last_name: String, | 15 | pub last_name: String, |
