From 9b56ffb81a9efa42333d329ff2e41d98a76b5488 Mon Sep 17 00:00:00 2001 From: Aarnav Tale Date: Thu, 31 Mar 2022 22:50:52 -0400 Subject: [PATCH] feat: allow referencing join by slug --- src/models/package.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/models/package.ts b/src/models/package.ts index 7d633da..a391c66 100644 --- a/src/models/package.ts +++ b/src/models/package.ts @@ -20,6 +20,10 @@ export class Package { // @ts-ignore repository: Repository + @Column('varchar', { name: 'repositorySlug', nullable: true }) + // @ts-ignore + repositorySlug: string + @Column('varchar', { nullable: false }) // @ts-ignore price: string