diff options
Diffstat (limited to 'db/migrate/20220420135245_fix_batched_background_migration_default_arguments.rb')
-rw-r--r-- | db/migrate/20220420135245_fix_batched_background_migration_default_arguments.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20220420135245_fix_batched_background_migration_default_arguments.rb b/db/migrate/20220420135245_fix_batched_background_migration_default_arguments.rb new file mode 100644 index 00000000000..42a0ee32ecb --- /dev/null +++ b/db/migrate/20220420135245_fix_batched_background_migration_default_arguments.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +class FixBatchedBackgroundMigrationDefaultArguments < Gitlab::Database::Migration[1.0] + def change + change_column_default :batched_background_migrations, :job_arguments, from: '[]', to: [] + end +end |