diff options
author | Alexis Reigel <mail@koffeinfrei.org> | 2017-06-15 13:43:04 +0300 |
---|---|---|
committer | Alexis Reigel <mail@koffeinfrei.org> | 2017-07-27 16:42:53 +0300 |
commit | 5d5fd4babe4cb75c7f8f9f18cc86c63a0fa58d16 (patch) | |
tree | 928b5582a8119277bc61605175399820e555a374 /app/models/gpg_signature.rb | |
parent | 34810acd6c3d4dd27f43f6f07e47b4e06bb95f82 (diff) |
store gpg_key_primary_keyid for unknown gpg keys
we need to store the keyid to be able to update the signature later in
case the missing key is added later.
Diffstat (limited to 'app/models/gpg_signature.rb')
-rw-r--r-- | app/models/gpg_signature.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/gpg_signature.rb b/app/models/gpg_signature.rb index 03294354d91..4fe9c3210ff 100644 --- a/app/models/gpg_signature.rb +++ b/app/models/gpg_signature.rb @@ -4,4 +4,5 @@ class GpgSignature < ActiveRecord::Base validates :commit_sha, presence: true validates :project, presence: true + validates :gpg_key_primary_keyid, presence: true end |