diff options
Diffstat (limited to 'db/post_migrate/20200127111840_fix_projects_without_project_feature.rb')
-rw-r--r-- | db/post_migrate/20200127111840_fix_projects_without_project_feature.rb | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/db/post_migrate/20200127111840_fix_projects_without_project_feature.rb b/db/post_migrate/20200127111840_fix_projects_without_project_feature.rb deleted file mode 100644 index 66e892444d1..00000000000 --- a/db/post_migrate/20200127111840_fix_projects_without_project_feature.rb +++ /dev/null @@ -1,22 +0,0 @@ -# frozen_string_literal: true - -class FixProjectsWithoutProjectFeature < ActiveRecord::Migration[5.2] - include Gitlab::Database::MigrationHelpers - - BATCH_SIZE = 50_000 - MIGRATION = 'FixProjectsWithoutProjectFeature' - - disable_ddl_transaction! - - class Project < ActiveRecord::Base - include EachBatch - end - - def up - queue_background_migration_jobs_by_range_at_intervals(Project, MIGRATION, 2.minutes, batch_size: BATCH_SIZE) - end - - def down - # no-op - end -end |