diff options
author | Alexis Reigel <mail@koffeinfrei.org> | 2017-08-31 20:45:29 +0200 |
---|---|---|
committer | Alexis Reigel <mail@koffeinfrei.org> | 2017-09-05 12:18:34 +0200 |
commit | 3ffe35f3272792c9466797ffe9b3e1272e9f3c92 (patch) | |
tree | c5b55e8df483fab267dbbd4cc75ccfd068a50e77 /app/models/gpg_signature.rb | |
parent | b62c1620ea8d4260bb60303d4825a214c7ed56ee (diff) | |
download | gitlab-ce-3ffe35f3272792c9466797ffe9b3e1272e9f3c92.tar.gz |
make valid_signature an ignored column
Diffstat (limited to 'app/models/gpg_signature.rb')
-rw-r--r-- | app/models/gpg_signature.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/models/gpg_signature.rb b/app/models/gpg_signature.rb index 1f047a32c84..454c90d5fc4 100644 --- a/app/models/gpg_signature.rb +++ b/app/models/gpg_signature.rb @@ -1,5 +1,8 @@ class GpgSignature < ActiveRecord::Base include ShaAttribute + include IgnorableColumn + + ignore_column :valid_signature sha_attribute :commit_sha sha_attribute :gpg_key_primary_keyid |