-
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.
Vc/firmware set validation attribute (#102)
* add firmware_set_validation_facts table * don't make server-id a foreign key * client function and api endpoint for firmware validation * handle potentially wrapped sql errors
- Loading branch information
Showing
16 changed files
with
2,581 additions
and
55 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
-- +goose Up | ||
-- +goose StatementBegin | ||
CREATE TABLE public.firmware_set_validation_facts( | ||
id UUID NOT NULL DEFAULT gen_random_uuid() PRIMARY KEY, | ||
firmware_set_id UUID NOT NULL REFERENCES public.component_firmware_set(id) ON DELETE CASCADE, | ||
target_server_id UUID NOT NULL, | ||
performed_on TIMESTAMPTZ NOT NULL | ||
) | ||
-- +goose StatementEnd | ||
|
||
-- +goose Down | ||
-- +goose StatementBegin | ||
DROP TABLE public.firmware_set_validation_facts | ||
-- +goose StatementEnd |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.