summaryrefslogtreecommitdiff
path: root/db/schema.rb
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-08-26 19:44:28 -0700
committerStan Hu <stanhu@gmail.com>2019-08-26 19:44:28 -0700
commit2dd6f423b77c82436e3e0b3978d9bda513207b4b (patch)
tree7a8ddd94738c3255b448cd328db8d85d2776edbb /db/schema.rb
parentbc4efd18a06e0b31a30b8e63828506ad647b2d8e (diff)
downloadgitlab-ce-2dd6f423b77c82436e3e0b3978d9bda513207b4b.tar.gz
Add limit: 255 to token_ecnrypted column63502-encrypt-deploy-token
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb
index 1393737b8b9..f30dad3d030 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -1123,7 +1123,7 @@ ActiveRecord::Schema.define(version: 2019_08_20_163320) do
t.string "name", null: false
t.string "token"
t.string "username"
- t.string "token_encrypted"
+ t.string "token_encrypted", limit: 255
t.index ["token", "expires_at", "id"], name: "index_deploy_tokens_on_token_and_expires_at_and_id", where: "(revoked IS FALSE)"
t.index ["token"], name: "index_deploy_tokens_on_token", unique: true
t.index ["token_encrypted"], name: "index_deploy_tokens_on_token_encrypted", unique: true