debian-mirror-gitlab/db/migrate/20210424115725_swap_partitioned_web_hook_logs.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
319 B
Ruby
Raw Normal View History

2021-06-08 01:23:25 +05:30
# frozen_string_literal: true
class SwapPartitionedWebHookLogs < ActiveRecord::Migration[6.0]
include Gitlab::Database::PartitioningMigrationHelpers
DOWNTIME = false
def up
replace_with_partitioned_table :web_hook_logs
end
def down
rollback_replace_with_partitioned_table :web_hook_logs
end
end