-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: GEO-698 Save errors in db (#551)
- Loading branch information
Showing
22 changed files
with
818 additions
and
30 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
SET search_path TO pay_transparency; | ||
|
||
create table if not exists user_error | ||
( | ||
user_error_id uuid default gen_random_uuid() not null, | ||
user_id uuid not null, | ||
company_id uuid not null, | ||
error varchar(255) not null, | ||
create_date timestamp default current_timestamp not null, | ||
constraint user_error_id_pk primary key (user_error_id), | ||
constraint error_pt_user_id_fk foreign key (user_id) references pay_transparency_user (user_id), | ||
constraint error_pt_company_id_fk foreign key (company_id) references pay_transparency_company (company_id) | ||
|
||
); | ||
|
||
CREATE INDEX "user_error_create_date_idx" ON "user_error"("create_date"); | ||
|
Oops, something went wrong.