From ef80f48fcde35c63281735a3ef2bc18abf5ef3b3 Mon Sep 17 00:00:00 2001 From: Hussain Kara Fallah <35973295+hussainkarafallah@users.noreply.github.com> Date: Wed, 18 Sep 2024 16:27:44 +0300 Subject: [PATCH] Update CHANGELOG.md migration script for task context (#209) --- CHANGELOG.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e002033..3c4837e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,10 +22,11 @@ ADD COLUMN task_context BYTEA; MariaDB: ``` -ALTER TABLE tw_task_data -ADD COLUMN task_context_format SMALLINT, -ADD COLUMN task_context BLOB, -ALGORITHM=INPLACE, LOCK=NONE; +ALTER TABLE tw_task_data WAIT 2 + ADD COLUMN IF NOT EXISTS task_context_format SMALLINT, + ADD COLUMN IF NOT EXISTS task_context BLOB, + ALGORITHM = INSTANT, + LOCK = NONE; ``` #### 1.42.0 - 2024/07/16 @@ -619,4 +620,4 @@ ExponentialTaskRetryPolicy is now handling arithmetic overflows. But for that, t TwTasksManagement API has a getTask endpoint. You can now secure all tasks management endpoints by specifying -`TasksProperties.TasksManagement.viewTaskDataRoles` \ No newline at end of file +`TasksProperties.TasksManagement.viewTaskDataRoles`