fix nullable column types for postgres migration
This commit is contained in:
@@ -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 })
|
||||
|
||||
Reference in New Issue
Block a user