diff options
author | Alexis Reigel <mail@koffeinfrei.org> | 2017-08-24 14:19:48 +0200 |
---|---|---|
committer | Alexis Reigel <mail@koffeinfrei.org> | 2017-09-05 12:18:31 +0200 |
commit | ff413ec28d5f0721646cea223fb5e5a054bde31e (patch) | |
tree | ca97e9c4323525f90abeaf410355384bb4ce8ea5 /db | |
parent | dd157e458ce0d76fc76e32fe2e5bcbbf945c104e (diff) | |
download | gitlab-ce-ff413ec28d5f0721646cea223fb5e5a054bde31e.tar.gz |
add verification_status to gpg signatures
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20170817123339_add_verification_status_to_gpg_signatures.rb | 7 | ||||
-rw-r--r-- | db/schema.rb | 1 |
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 |