summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/migrate/20170817123339_add_verification_status_to_gpg_signatures.rb7
-rw-r--r--db/schema.rb1
2 files changed, 8 insertions, 0 deletions
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