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 | 299b9b8d579da0f29b8be533be08e9fa7d50f147 (patch) | |
tree | 1ff0fc5f05476b97053f7cb79497714b41ab789b | |
parent | make everything in categories nullable (diff) | |
download | server-299b9b8d579da0f29b8be533be08e9fa7d50f147.tar.xz |
Fix primarycolum being assigned to nullable = true
-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 }) |