fix: change json column types to simple-json in barcode template and print job entities
Build and Push Multi-Platform Images / build-and-push (push) Successful in 29s
Build and Push Multi-Platform Images / build-and-push (push) Successful in 29s
This commit is contained in:
@@ -49,7 +49,7 @@ export class BarcodeTemplate {
|
|||||||
@Column({ type: 'int', nullable: true })
|
@Column({ type: 'int', nullable: true })
|
||||||
LabelHeightMm!: number | null;
|
LabelHeightMm!: number | null;
|
||||||
|
|
||||||
@Column({ type: 'json', nullable: true })
|
@Column({ type: 'simple-json', nullable: true })
|
||||||
LabelInputFields!: LabelInputField[] | null;
|
LabelInputFields!: LabelInputField[] | null;
|
||||||
|
|
||||||
@Column({ type: 'varchar', length: 1000, nullable: true })
|
@Column({ type: 'varchar', length: 1000, nullable: true })
|
||||||
@@ -61,7 +61,7 @@ export class BarcodeTemplate {
|
|||||||
@Column({ type: 'varchar', length: 1000, nullable: true })
|
@Column({ type: 'varchar', length: 1000, nullable: true })
|
||||||
LabelReleaseUrl!: string | null;
|
LabelReleaseUrl!: string | null;
|
||||||
|
|
||||||
@Column({ type: 'json', nullable: true })
|
@Column({ type: 'simple-json', nullable: true })
|
||||||
LabelLayout!: LabelElement[] | null;
|
LabelLayout!: LabelElement[] | null;
|
||||||
|
|
||||||
@CreateDateColumn()
|
@CreateDateColumn()
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ export class LabelPrintJob {
|
|||||||
@Column({ type: 'int', nullable: true })
|
@Column({ type: 'int', nullable: true })
|
||||||
BarcodeTemplateId!: number | null;
|
BarcodeTemplateId!: number | null;
|
||||||
|
|
||||||
@Column({ type: 'json', nullable: true })
|
@Column({ type: 'simple-json', nullable: true })
|
||||||
LabelVariables!: Record<string, string> | null;
|
LabelVariables!: Record<string, string> | null;
|
||||||
|
|
||||||
@Column({ type: 'datetime', nullable: true })
|
@Column({ type: 'datetime', nullable: true })
|
||||||
|
|||||||
Reference in New Issue
Block a user