-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(jobs): add employer ID to the job offers (#70)
- Loading branch information
Showing
9 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
backend/jobs/src/main/resources/db/migration/V10__add_employer_id_to_offer.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE joboffer | ||
ADD COLUMN employerId UUID; |
15 changes: 15 additions & 0 deletions
15
backend/jobs/src/main/resources/db/migration/V11__set_employer_id_to_data.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
UPDATE joboffer | ||
SET employerid = 'c80f53f4-0a33-4fe3-bf7f-a755c6e2235b' | ||
WHERE id = 'f3a617dc-7798-40e6-ae63-739f88b6741d'; | ||
|
||
UPDATE joboffer | ||
SET employerid = '0dc07c97-fc40-4ac2-a9f6-0b0bbbe6057e' | ||
WHERE id = '92c7a573-0b53-4a9c-91dd-5e6af12c9ff6'; | ||
|
||
UPDATE joboffer | ||
SET employerid = '8102b0f0-c03c-4f66-bd99-a2522625d11c' | ||
WHERE id = 'de8aa118-cabf-4469-9b67-2f37240c51df'; | ||
|
||
UPDATE joboffer | ||
SET employerid = '4d40844c-4db9-45d3-bffd-18804411a69c' | ||
WHERE id = '34215d66-e1e0-43a7-861d-acddc2418fd5'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,5 @@ message JobOffer { | |
Job job = 8; | ||
Company company = 9; | ||
Status status = 10; | ||
string employerId = 11; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters