15 lines
309 B
Ruby
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
|