changed data structure to single html

This commit is contained in:
Julian Krauser 2024-12-22 17:29:11 +01:00
parent 160d82459d
commit 5f18e614be
7 changed files with 8 additions and 28 deletions

View file

@ -15,9 +15,7 @@ export class Template1734854680201 implements MigrationInterface {
{ name: "template", type: "varchar", length: "255", isNullable: false },
{ name: "description", type: "varchar", length: "255", isNullable: true },
{ name: "design", type: "text", isNullable: false, default: "'{}'" },
{ name: "headerHTML", type: "text", isNullable: false, default: "''" },
{ name: "bodyHTML", type: "text", isNullable: false, default: "''" },
{ name: "footerHTML", type: "text", isNullable: false, default: "''" },
{ name: "html", type: "text", isNullable: false, default: "''" },
],
}),
true