summary refs log tree commit diff
path: root/util
diff options
context:
space:
mode:
authorFeatyre <twooter.0g179@simplelogin.co>2022-02-02 01:06:42 +0800
committerFeatyre <twooter.0g179@simplelogin.co>2022-02-02 01:06:42 +0800
commitd4690aa7b65c9d030de71e8f963789ba213fdd13 (patch)
treeae54be7701865418d6802d881d090e11310426e7 /util
parentmake everything in categories nullable (diff)
downloadserver-d4690aa7b65c9d030de71e8f963789ba213fdd13.tar.xz
Fix primarycolum being assigned to nullable = true
Diffstat (limited to 'util')
-rw-r--r--util/src/entities/Categories.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/src/entities/Categories.ts b/util/src/entities/Categories.ts
index 18fc755d..a3c1280f 100644
--- a/util/src/entities/Categories.ts
+++ b/util/src/entities/Categories.ts
@@ -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 })