forked from Ynov/ptitspas-ynov-back
user entity corrected
This commit is contained in:
@@ -35,7 +35,7 @@ export class Users {
|
|||||||
@PrimaryGeneratedColumn('uuid')
|
@PrimaryGeneratedColumn('uuid')
|
||||||
id: string;
|
id: string;
|
||||||
|
|
||||||
@Column({ unique: true, name: 'courriel' })
|
@Column({ unique: true, name: 'email' })
|
||||||
email: string;
|
email: string;
|
||||||
|
|
||||||
@Column({ name: 'mot_de_passe_hash' })
|
@Column({ name: 'mot_de_passe_hash' })
|
||||||
|
|||||||
Reference in New Issue
Block a user