Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-08-27 05:44:28 +0300
committerStan Hu <stanhu@gmail.com>2019-08-27 05:44:28 +0300
commit2dd6f423b77c82436e3e0b3978d9bda513207b4b (patch)
tree7a8ddd94738c3255b448cd328db8d85d2776edbb /db/migrate/20190711200508_add_token_encrypted_to_deploy_tokens.rb
parentbc4efd18a06e0b31a30b8e63828506ad647b2d8e (diff)
Add limit: 255 to token_ecnrypted column
Diffstat (limited to 'db/migrate/20190711200508_add_token_encrypted_to_deploy_tokens.rb')
-rw-r--r--db/migrate/20190711200508_add_token_encrypted_to_deploy_tokens.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20190711200508_add_token_encrypted_to_deploy_tokens.rb b/db/migrate/20190711200508_add_token_encrypted_to_deploy_tokens.rb
index 3c352441057..ea0956fdf7f 100644
--- a/db/migrate/20190711200508_add_token_encrypted_to_deploy_tokens.rb
+++ b/db/migrate/20190711200508_add_token_encrypted_to_deploy_tokens.rb
@@ -6,6 +6,6 @@ class AddTokenEncryptedToDeployTokens < ActiveRecord::Migration[5.1]
DOWNTIME = false
def change
- add_column :deploy_tokens, :token_encrypted, :string
+ add_column :deploy_tokens, :token_encrypted, :string, limit: 255
end
end