diff options
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.rb | 11 |
1 files changed, 11 insertions, 0 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 new file mode 100644 index 00000000000..ea0956fdf7f --- /dev/null +++ b/db/migrate/20190711200508_add_token_encrypted_to_deploy_tokens.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +class AddTokenEncryptedToDeployTokens < ActiveRecord::Migration[5.1] + include Gitlab::Database::MigrationHelpers + + DOWNTIME = false + + def change + add_column :deploy_tokens, :token_encrypted, :string, limit: 255 + end +end |