diff options
Diffstat (limited to 'db/post_migrate/20180122154930_schedule_set_confidential_note_events_on_services.rb')
-rw-r--r-- | db/post_migrate/20180122154930_schedule_set_confidential_note_events_on_services.rb | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/db/post_migrate/20180122154930_schedule_set_confidential_note_events_on_services.rb b/db/post_migrate/20180122154930_schedule_set_confidential_note_events_on_services.rb deleted file mode 100644 index 98bbb34dda1..00000000000 --- a/db/post_migrate/20180122154930_schedule_set_confidential_note_events_on_services.rb +++ /dev/null @@ -1,23 +0,0 @@ -class ScheduleSetConfidentialNoteEventsOnServices < ActiveRecord::Migration[4.2] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - BATCH_SIZE = 1_000 - INTERVAL = 20.minutes - - disable_ddl_transaction! - - def up - migration = Gitlab::BackgroundMigration::SetConfidentialNoteEventsOnServices - migration_name = migration.to_s.demodulize - relation = migration::Service.services_to_update - - queue_background_migration_jobs_by_range_at_intervals(relation, - migration_name, - INTERVAL, - batch_size: BATCH_SIZE) - end - - def down - end -end |