Commit 895efdfb authored by Alexis Reigel's avatar Alexis Reigel

use text instead of string for db columns

parent 8e0c33ed
...@@ -13,8 +13,8 @@ class CreateGpgSignatures < ActiveRecord::Migration ...@@ -13,8 +13,8 @@ class CreateGpgSignatures < ActiveRecord::Migration
t.binary :commit_sha, limit: Gitlab::Database.mysql? ? 20 : nil t.binary :commit_sha, limit: Gitlab::Database.mysql? ? 20 : nil
t.binary :gpg_key_primary_keyid, limit: Gitlab::Database.mysql? ? 20 : nil t.binary :gpg_key_primary_keyid, limit: Gitlab::Database.mysql? ? 20 : nil
t.string :gpg_key_user_name t.text :gpg_key_user_name
t.string :gpg_key_user_email t.text :gpg_key_user_email
t.index :commit_sha t.index :commit_sha
t.index :gpg_key_primary_keyid t.index :gpg_key_primary_keyid
......
...@@ -560,8 +560,8 @@ ActiveRecord::Schema.define(version: 20170725145659) do ...@@ -560,8 +560,8 @@ ActiveRecord::Schema.define(version: 20170725145659) do
t.boolean "valid_signature" t.boolean "valid_signature"
t.binary "commit_sha" t.binary "commit_sha"
t.binary "gpg_key_primary_keyid" t.binary "gpg_key_primary_keyid"
t.string "gpg_key_user_name" t.text "gpg_key_user_name"
t.string "gpg_key_user_email" t.text "gpg_key_user_email"
end end
add_index "gpg_signatures", ["commit_sha"], name: "index_gpg_signatures_on_commit_sha", using: :btree add_index "gpg_signatures", ["commit_sha"], name: "index_gpg_signatures_on_commit_sha", using: :btree
......
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