Commit 31ad752e authored by Alexis Reigel's avatar Alexis Reigel

update all signatures with the verification status

parent c8e4bbb1
class UpdateGpgSignaturesVerificationStatus < ActiveRecord::Migration
DOWNTIME = false
def up
GpgSignature.where(verification_status: nil).find_each do |gpg_signature|
gpg_signature.gpg_commit.update_signature!(gpg_signature)
end
end
def down
# we can't revert setting the verification_status, but actually we don't
# need to really, as setting this is not a harmful change.
end
end
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