Skip to content

Commit

Permalink
🐛 Fix (candidacy-entity): Padronização do nome do atributo para job.
Browse files Browse the repository at this point in the history
  • Loading branch information
leticiazalasik committed Oct 7, 2024
1 parent 4ec73c0 commit ebdf7d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/database/entities/candidacy.entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { CandidacyStatus } from './candidacy-status.enum';
id: string;

@Column('uuid')
vacancyId: string;
jobId: string;

@Column('uuid')
userId: string;
Expand All @@ -34,7 +34,7 @@ import { CandidacyStatus } from './candidacy-status.enum';
user: UsersEntity;

@ManyToOne(() => JobsEntity)
@JoinColumn({ name: 'vacancyId' })
@JoinColumn({ name: 'jobId' })
job: JobsEntity;
}

0 comments on commit ebdf7d7

Please sign in to comment.