Skip to content

Commit

Permalink
Initialize frameId value to null
Browse files Browse the repository at this point in the history
  • Loading branch information
Marvin Schürz committed Aug 19, 2024
1 parent 1880a4c commit f75cb00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entities/card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export class Card {
burnable!: boolean;

@Column('int', { name: 'frame_id', nullable: true })
frameId!: number;
frameId!: number | null = null;

@Column('int', { name: 'burn_value', default: 0, nullable: false })
burnValue!: number;
Expand Down

0 comments on commit f75cb00

Please sign in to comment.