user name is now nullable
This commit is contained in:
parent
cd489ed06f
commit
7073483d40
|
@ -18,8 +18,8 @@ export class User {
|
||||||
@CreateDateColumn()
|
@CreateDateColumn()
|
||||||
createdAt!: Date;
|
createdAt!: Date;
|
||||||
|
|
||||||
@Column({type: 'varchar', length: 500, nullable: false})
|
@Column({type: 'varchar', length: 500, nullable: true})
|
||||||
name!: string;
|
name: string | null = null;
|
||||||
|
|
||||||
@OneToMany(() => AuthMethod, authMethod => authMethod.user)
|
@OneToMany(() => AuthMethod, authMethod => authMethod.user)
|
||||||
authMethods!: AuthMethod[];
|
authMethods!: AuthMethod[];
|
||||||
|
|
Loading…
Reference in a new issue