fix(trips): explicit varchar type on cancelled_by (union type broke TypeORM metadata)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-16 17:24:08 +03:00
co-authored by Claude Opus 4.8
parent 65a2e5e275
commit ccb80d9e53
@@ -82,7 +82,7 @@ export class Trip {
@Column({ default: 'cash' }) @Column({ default: 'cash' })
payment_method: string; payment_method: string;
@Column({ nullable: true }) @Column({ type: 'varchar', nullable: true })
cancelled_by: string | null; // rider | driver cancelled_by: string | null; // rider | driver
@Column({ type: 'numeric', precision: 12, scale: 3, nullable: true }) @Column({ type: 'numeric', precision: 12, scale: 3, nullable: true })