diff options
author | Featyre <twooter.0g179@simplelogin.co> | 2022-02-02 01:06:42 +0800 |
---|---|---|
committer | Featyre <twooter.0g179@simplelogin.co> | 2022-02-02 01:06:42 +0800 |
commit | d4690aa7b65c9d030de71e8f963789ba213fdd13 (patch) | |
tree | ae54be7701865418d6802d881d090e11310426e7 /util | |
parent | make everything in categories nullable (diff) | |
download | server-d4690aa7b65c9d030de71e8f963789ba213fdd13.tar.xz |
Fix primarycolum being assigned to nullable = true
Diffstat (limited to 'util')
-rw-r--r-- | util/src/entities/Categories.ts | 2 |
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 }) |