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

Commit

Permalink
feat: allow referencing join by slug
Browse files Browse the repository at this point in the history
  • Loading branch information
tale committed Apr 1, 2022
1 parent 291500c commit 9b56ffb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/models/package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9b56ffb

Please sign in to comment.