debian-mirror-gitlab/db/post_migrate/20211130201100_track_deletions_in_namespaces.rb
2022-01-26 12:08:38 +05:30

15 lines
312 B
Ruby

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