Commit 568c6881 authored by Jan Provaznik's avatar Jan Provaznik

Merge branch 'debian_pk' into 'master'

Fix Packages::Debian::FileMetadatum primary key

See merge request gitlab-org/gitlab!59416
parents 99b2ae9c 4dd1b287
# frozen_string_literal: true
class Packages::Debian::FileMetadatum < ApplicationRecord
self.primary_key = :package_file_id
belongs_to :package_file, inverse_of: :debian_file_metadatum
validates :package_file, presence: true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment