diff --git a/src/models/repository.ts b/src/models/repository.ts index cd74cfb..0565980 100644 --- a/src/models/repository.ts +++ b/src/models/repository.ts @@ -60,5 +60,9 @@ export class Repository { @OneToOne(() => Origin, origin => origin.databaseId, { nullable: false }) @JoinColumn({ name: 'originId' }) // @ts-ignore - repository: Repository + origin: Origin + + @Column('varchar', { name: 'originId', nullable: true }) + // @ts-ignore + originId: string }