summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--util/src/entities/Categories.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/src/entities/Categories.ts b/util/src/entities/Categories.ts
index 269e178f..18fc755d 100644
--- a/util/src/entities/Categories.ts
+++ b/util/src/entities/Categories.ts
@@ -17,16 +17,16 @@ import { BaseClassWithoutId } from "./BaseClass";
 @Entity("categories")
 export class Categories extends BaseClassWithoutId { // Not using snowflake
     
-    @PrimaryColumn()
+    @PrimaryColumn({ nullable: true })
 	id: number;
 
-    @Column()
+    @Column({ nullable: true })
     name: string;
 
     @Column({ type: "simple-json" })
     localizations: string;
 
-    @Column()
+    @Column({ nullable: true })
     is_primary: boolean;
 
 }
\ No newline at end of file