Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Commit

Permalink
Fix migration (#1730)
Browse files Browse the repository at this point in the history
  • Loading branch information
ataleksandrov authored Feb 12, 2021
1 parent 16d72a4 commit 7783dc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chart/compass/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ global:
version: "PR-13"
schema_migrator:
dir:
version: "PR-1727"
version: "PR-1730"
system_broker:
dir:
version: "PR-1721"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ INSERT INTO specifications
NULL::event_api_spec_format,
NULL::event_api_spec_type,
NULL
FROM api_definitions);
FROM api_definitions WHERE spec_type IS NOT NULL AND spec_format IS NOT NULL);

INSERT INTO specifications
(SELECT uuid_generate_v4(),
Expand All @@ -188,7 +188,7 @@ INSERT INTO specifications
spec_format,
spec_type,
NULL
FROM event_api_definitions);
FROM event_api_definitions WHERE spec_type IS NOT NULL AND spec_format IS NOT NULL);

ALTER TABLE fetch_requests
ADD COLUMN spec_id UUID;
Expand Down

0 comments on commit 7783dc6

Please sign in to comment.