Skip to content

Commit dc920c7

Browse files
committed
temp FKs
1 parent bf81c35 commit dc920c7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

backend/typescript/models/applicantRecord.model.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ export default class ApplicantRecord extends Model {
2121
@Column({ type: DataType.STRING })
2222
applicantId!: string;
2323

24-
@ForeignKey(() => Role)
25-
@Column({ type: DataType.STRING })
26-
role!: string;
24+
// @ForeignKey(() => Role)
25+
// @Column({ type: DataType.STRING })
26+
// role!: string;
2727

2828
@Column({ type: DataType.ARRAY(DataType.STRING) })
2929
roleSpecificQuestions!: string[];

backend/typescript/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export type ApplicantDTO = {
9898
export type ApplicantRecordDTO = {
9999
id: number;
100100
applicantId: string;
101-
role: string;
101+
role?: string; // EDIT LATER
102102
roleSpecificQuestions: string[];
103103
choice: number;
104104
status: ApplicationStatus;

0 commit comments

Comments
 (0)