fix docker build

This commit is contained in:
Mateusz Gruszczyński
2026-04-06 16:41:32 +02:00
parent 723e3441df
commit 3f130ad9ed
10 changed files with 59 additions and 43 deletions

View File

@@ -1,4 +1,5 @@
import { Column, CreateDateColumn, Entity, ManyToOne, PrimaryGeneratedColumn, UpdateDateColumn } from 'typeorm';
import type { Relation } from 'typeorm';
import { User } from './User.js';
import { dateTimeColumnType } from '../utils/db-column-types.js';
@@ -26,5 +27,5 @@ export class Merchant {
updatedAt!: Date;
@ManyToOne(() => User, { onDelete: 'CASCADE' })
user!: User;
user!: Relation<User>;
}