diff options
author | Featyre <twooter.0g179@simplelogin.co> | 2022-01-26 08:58:36 +0800 |
---|---|---|
committer | Featyre <twooter.0g179@simplelogin.co> | 2022-01-26 08:58:36 +0800 |
commit | b01a26cdceb2840b44da7033e2f6615a27273595 (patch) | |
tree | f133ebfaf2c56e2e9fa1bd1cbb57bb7cf0c1a53e /util/src | |
parent | change line (diff) | |
download | server-b01a26cdceb2840b44da7033e2f6615a27273595.tar.xz |
Dev portal + categories load db
Diffstat (limited to 'util/src')
-rw-r--r-- | util/src/entities/Categories.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/src/entities/Categories.ts b/util/src/entities/Categories.ts index 1d272118..269e178f 100644 --- a/util/src/entities/Categories.ts +++ b/util/src/entities/Categories.ts @@ -15,15 +15,15 @@ import { BaseClassWithoutId } from "./BaseClass"; // }] @Entity("categories") -export class CategoryEntity extends BaseClassWithoutId { // Not using snowflake +export class Categories extends BaseClassWithoutId { // Not using snowflake @PrimaryColumn() id: number; @Column() - default: string; + name: string; - @Column({ type: "simple-json", nullable: false }) + @Column({ type: "simple-json" }) localizations: string; @Column() |