更新user实体的密码哈希命名
This commit is contained in:
@@ -19,7 +19,7 @@ export class User {
|
|||||||
salt: string;
|
salt: string;
|
||||||
|
|
||||||
@Column({ nullable: true, type: 'char', length: 64 })
|
@Column({ nullable: true, type: 'char', length: 64 })
|
||||||
hashed_password: string;
|
password_hash: string;
|
||||||
|
|
||||||
@Column({ nullable: true, length: 254 })// RFC 5321
|
@Column({ nullable: true, length: 254 })// RFC 5321
|
||||||
@Index({ unique: true })
|
@Index({ unique: true })
|
||||||
|
|||||||
Reference in New Issue
Block a user