gitlab-org--gitlab-foss/db/post_migrate/20211209093828_track_users_deletes.rb

15 lines
293 B
Ruby

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