From ff413ec28d5f0721646cea223fb5e5a054bde31e Mon Sep 17 00:00:00 2001 From: Alexis Reigel Date: Thu, 24 Aug 2017 14:19:48 +0200 Subject: [PATCH] add verification_status to gpg signatures --- ...0817123339_add_verification_status_to_gpg_signatures.rb | 7 +++++++ db/schema.rb | 1 + 2 files changed, 8 insertions(+) create mode 100644 db/migrate/20170817123339_add_verification_status_to_gpg_signatures.rb diff --git a/db/migrate/20170817123339_add_verification_status_to_gpg_signatures.rb b/db/migrate/20170817123339_add_verification_status_to_gpg_signatures.rb new file mode 100644 index 00000000000..d50277aa066 --- /dev/null +++ b/db/migrate/20170817123339_add_verification_status_to_gpg_signatures.rb @@ -0,0 +1,7 @@ +class AddVerificationStatusToGpgSignatures < ActiveRecord::Migration + DOWNTIME = false + + def change + add_column :gpg_signatures, :verification_status, :smallint + end +end diff --git a/db/schema.rb b/db/schema.rb index 216b3cddab0..e2c602b000f 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -614,6 +614,7 @@ ActiveRecord::Schema.define(version: 20170830125940) do t.binary "gpg_key_primary_keyid" t.text "gpg_key_user_name" t.text "gpg_key_user_email" + t.integer "verification_status", limit: 2 end add_index "gpg_signatures", ["commit_sha"], name: "index_gpg_signatures_on_commit_sha", unique: true, using: :btree