mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2026-10-27 06:27:57 +00:00
feat: working on edit profile ticket
This commit is contained in:
@@ -37,8 +37,8 @@ export class Document {
|
||||
@Column({ type: 'uuid', nullable: true, name: 'created_by_id' })
|
||||
createdById!: string;
|
||||
|
||||
@OneToOne(() => Customer, (customer) => customer.profilePicture, { onDelete: 'SET NULL' })
|
||||
customerPicture?: Customer;
|
||||
@OneToOne(() => User, (user) => user.profilePicture, { onDelete: 'SET NULL' })
|
||||
userPicture?: Customer;
|
||||
|
||||
@OneToOne(() => Customer, (customer) => customer.civilIdFront, { onDelete: 'SET NULL' })
|
||||
customerCivilIdFront?: User;
|
||||
|
||||
Reference in New Issue
Block a user