mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-26 07:34:54 +00:00
make point nullable (#457)
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user