更新user实体的密码哈希命名

This commit is contained in:
2025-05-07 00:01:13 +08:00
parent 062719adce
commit 1d434f03dd

View File

@@ -19,7 +19,7 @@ export class User {
salt: string;
@Column({ nullable: true, type: 'char', length: 64 })
hashed_password: string;
password_hash: string;
@Column({ nullable: true, length: 254 })// RFC 5321
@Index({ unique: true })