Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.
/ models Public archive

Commit 9b56ffb

Browse files
committed
feat: allow referencing join by slug
1 parent 291500c commit 9b56ffb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/models/package.ts

+4
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ export class Package {
2020
// @ts-ignore
2121
repository: Repository
2222

23+
@Column('varchar', { name: 'repositorySlug', nullable: true })
24+
// @ts-ignore
25+
repositorySlug: string
26+
2327
@Column('varchar', { nullable: false })
2428
// @ts-ignore
2529
price: string

0 commit comments

Comments
 (0)