-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This is a relatively minor change that ensures schedule rows follow the same convention as task and task attempt rows by referencing the associated queue as "task_queue_name".
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
-- Force anything running this migration to use the right search path. | ||
set local search_path to underway; | ||
|
||
-- Rename the 'name' column in 'task_schedule' to 'task_queue_name' for consistency. | ||
alter table underway.task_schedule | ||
rename column name to task_queue_name; | ||
|
||
-- Update the primary key constraint to use the new column name. | ||
alter table underway.task_schedule | ||
drop constraint task_schedule_pkey, | ||
add primary key (task_queue_name); |