Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20210326121537_backfill_cleanup_for_partitioned_web_hook_logs.rb « post_migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5816d02561ee56349f2beaac2c75f695f2febdd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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