Dev portal + categories load db

This commit is contained in:
Featyre
2022-01-26 08:58:36 +08:00
parent b8a14b0d18
commit 821470cc41
9 changed files with 80 additions and 26 deletions
+3 -3
View File
@@ -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()