summaryrefslogtreecommitdiff
path: root/db/post_migrate/20200904174901_backfill_cleanup_for_partitioned_audit_events.rb
blob: 1d8240012d12145c5f1fc2ab4fa7294f04aab811 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

class BackfillCleanupForPartitionedAuditEvents < ActiveRecord::Migration[6.0]
  include Gitlab::Database::PartitioningMigrationHelpers

  DOWNTIME = false

  disable_ddl_transaction!

  def up
    finalize_backfilling_partitioned_table :audit_events
  end

  def down
    # no op
  end
end