make point nullable (#457)

This commit is contained in:
ZaydSkaff
2025-07-08 14:50:00 +03:00
committed by GitHub
parent 9971fb953d
commit 0bb178ed10
3 changed files with 11 additions and 8 deletions

View File

@ -40,8 +40,8 @@ export class BookableSpaceEntity extends AbstractEntity {
@Column({ type: Boolean, default: true })
active: boolean;
@Column({ type: 'int' })
points: number;
@Column({ type: 'int', default: null })
points?: number;
@CreateDateColumn()
createdAt: Date;