mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-10 20:52:42 +01:00
Fix primarycolum being assigned to nullable = true
This commit is contained in:
parent
9a52549eb8
commit
d4690aa7b6
@ -17,7 +17,7 @@ import { BaseClassWithoutId } from "./BaseClass";
|
||||
@Entity("categories")
|
||||
export class Categories extends BaseClassWithoutId { // Not using snowflake
|
||||
|
||||
@PrimaryColumn({ nullable: true })
|
||||
@PrimaryColumn()
|
||||
id: number;
|
||||
|
||||
@Column({ nullable: true })
|
||||
|
Loading…
Reference in New Issue
Block a user