1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-09-20 17:51:35 +02:00

Fix primarycolum being assigned to nullable = true

This commit is contained in:
Featyre 2022-02-02 01:06:42 +08:00
parent 9a52549eb8
commit d4690aa7b6

View File

@ -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 })