diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-02-15 10:13:20 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-02-15 10:13:20 +0100 |
commit | 6cb5b7c8729151c95d1610f0b2f7255fdac2bdec (patch) | |
tree | 860bf81531053a5a97ddc01b183531cfebf2c48f /db/post_migrate | |
parent | 378b2bad11b893fabebc083d000295c1ec499b23 (diff) | |
download | gitlab-ce-6cb5b7c8729151c95d1610f0b2f7255fdac2bdec.tar.gz |
Recover from unique constraint violation in stages migration
Diffstat (limited to 'db/post_migrate')
-rw-r--r-- | db/post_migrate/20180212101928_schedule_build_stage_migration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/post_migrate/20180212101928_schedule_build_stage_migration.rb b/db/post_migrate/20180212101928_schedule_build_stage_migration.rb index f03a3f8d355..ad65a6fb16e 100644 --- a/db/post_migrate/20180212101928_schedule_build_stage_migration.rb +++ b/db/post_migrate/20180212101928_schedule_build_stage_migration.rb @@ -3,7 +3,7 @@ class ScheduleBuildStageMigration < ActiveRecord::Migration DOWNTIME = false MIGRATION = 'MigrateBuildStage'.freeze - BATCH_SIZE = 500 + BATCH_SIZE = 800 disable_ddl_transaction! |