Commit dcab9396 authored by Yannis Roussos's avatar Yannis Roussos

Add migration to cleanup web_hook_logs backfill

Add post deployment migration that will clean up any incomplete jobs
from the partitioned web_hook_logs backfill migration, and copy any
missing data.
parent dcc14623
---
title: Migration to cleanup after partitioned web_hook_logs backfill
merge_request: 57580
author:
type: other
# frozen_string_literal: true
class BackfillCleanupForPartitionedWebHookLogs < ActiveRecord::Migration[6.0]
include Gitlab::Database::PartitioningMigrationHelpers
DOWNTIME = false
disable_ddl_transaction!
def up
finalize_backfilling_partitioned_table :web_hook_logs
end
def down
# no op
end
end
ac8063901a0de1f2e6d4fd5336f54bfca0bafa9d081066124ec9d2acf47c9b47
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment