change according to connection from frontend

This commit is contained in:
Julian Krauser 2025-06-04 14:30:57 +02:00
parent 2609ecc1bf
commit e3db523a0e
36 changed files with 611 additions and 173 deletions

View file

@ -18,10 +18,10 @@ export class vehicle {
@Column({ type: "varchar", length: 255 })
location: string;
@Column({ type: getTypeByORM("datetime").type as ColumnType })
@Column({ type: getTypeByORM("date").type as ColumnType })
commissioned: Date;
@Column({ type: getTypeByORM("datetime").type as ColumnType, nullable: true, default: null })
@Column({ type: getTypeByORM("date").type as ColumnType, nullable: true, default: null })
decommissioned?: Date;
@Column()