Fix default job_arguments for batched migrations
What does this MR do and why?
The batched_background_migrations
table previously had an incorrect default value for the jsonb column job_arguments
. The incorrect default was '"[]"'
, but should have been '[]'
(actual empty JSON array, rather than a string of an empty array).
This change fixes the default value, and updates any existing records with empty argument lists to have the correct value as well.
How to set up and validate locally
- Run the migrations locally
- Validate the results
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Patrick Bair