add column

This commit is contained in:
natib21
2026-06-22 07:54:07 +00:00
parent 00d722fa4f
commit bee47b231a
4 changed files with 40 additions and 0 deletions

View File

@@ -43,6 +43,20 @@ export class CreateFirstMile1810000000000 implements MigrationInterface {
default: 0,
isNullable: false,
},
{
name: 'estimated_km',
type: 'numeric',
precision: 10,
scale: 2,
isNullable: true,
},
{
name: 'exact_km',
type: 'numeric',
precision: 10,
scale: 2,
isNullable: true,
},
{ name: 'vehicle_id', type: 'uuid', isNullable: true },
{ name: 'created_at', type: 'timestamptz', default: 'now()' },
{ name: 'updated_at', type: 'timestamptz', default: 'now()' },