fix nullable column types for postgres migration

This commit is contained in:
2026-05-07 19:18:32 +03:30
parent 729cc9f4b9
commit 867a1a28e2
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -25,13 +25,13 @@ export class BusinessEntity {
@Column({ unique: true, length: 120 })
slug!: string;
@Column({ nullable: true, length: 500 })
@Column({ type: 'varchar', nullable: true, length: 500 })
description!: string | null;
@Column({ nullable: true, length: 20 })
@Column({ type: 'varchar', nullable: true, length: 20 })
contactPhone!: string | null;
@Column({ nullable: true, length: 500 })
@Column({ type: 'varchar', nullable: true, length: 500 })
address!: string | null;
@Column({ type: 'double precision', nullable: true })