diff options
Diffstat (limited to 'spec/factories/gitlab/database/background_migration/batched_migrations.rb')
-rw-r--r-- | spec/factories/gitlab/database/background_migration/batched_migrations.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/factories/gitlab/database/background_migration/batched_migrations.rb b/spec/factories/gitlab/database/background_migration/batched_migrations.rb index c03841d8c02..de57e0c1565 100644 --- a/spec/factories/gitlab/database/background_migration/batched_migrations.rb +++ b/spec/factories/gitlab/database/background_migration/batched_migrations.rb @@ -9,6 +9,7 @@ FactoryBot.define do job_class_name { 'CopyColumnUsingBackgroundMigrationJob' } table_name { :events } column_name { :id } + sequence(:job_arguments) { |n| [["column_#{n}"], ["column_#{n}_convert_to_bigint"]] } total_tuple_count { 10_000 } pause_ms { 100 } end |