fix docker build
This commit is contained in:
@@ -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>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user