debian-mirror-gitlab/db/migrate/20230323153042_track_push_rules_deletions.rb
2023-06-20 00:43:36 +05:30

15 lines
309 B
Ruby

# frozen_string_literal: true
class TrackPushRulesDeletions < Gitlab::Database::Migration[2.1]
include Gitlab::Database::MigrationHelpers::LooseForeignKeyHelpers
enable_lock_retries!
def up
track_record_deletions(:push_rules)
end
def down
untrack_record_deletions(:push_rules)
end
end