-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into sendToGitHub/floating-grpcio-dependency
- Loading branch information
Showing
10 changed files
with
744 additions
and
475 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
14 changes: 14 additions & 0 deletions
14
internal/scheduler/database/migrations/017_amend_executor_settings_columns.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,14 @@ | ||
ALTER TABLE executor_settings | ||
ALTER COLUMN cordon_reason TYPE text USING (COALESCE(cordon_reason, '')) | ||
, ALTER COLUMN cordon_reason SET DEFAULT '' | ||
, ALTER COLUMN cordon_reason SET NOT NULL; | ||
|
||
ALTER TABLE executor_settings | ||
ALTER COLUMN set_by_user TYPE text USING (COALESCE(set_by_user, '')) | ||
, ALTER COLUMN set_by_user SET DEFAULT '' | ||
, ALTER COLUMN set_by_user SET NOT NULL; | ||
|
||
ALTER TABLE executor_settings | ||
ALTER COLUMN set_at_time TYPE timestamptz USING (COALESCE(set_at_time, '2024-11-12 09:00:00 UTC'::timestamptz)) | ||
, ALTER COLUMN set_at_time SET DEFAULT NOW() | ||
, ALTER COLUMN set_at_time SET NOT NULL; |
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.