remove relation with supplier
This commit is contained in:
@ -11,7 +11,6 @@ import {
|
||||
} from 'typeorm';
|
||||
|
||||
import { Status } from '../types/status';
|
||||
import { Supplier } from './supplier';
|
||||
import { AssetCategory } from './asset_category';
|
||||
|
||||
@Entity('goods')
|
||||
@ -76,10 +75,6 @@ export class Goods {
|
||||
})
|
||||
updated_by: string;
|
||||
|
||||
@ManyToOne(() => Supplier, { nullable: false })
|
||||
@JoinColumn({ name: 'supplier_id' })
|
||||
supplier: Supplier;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
type: 'uuid',
|
||||
|
||||
Reference in New Issue
Block a user