summaryrefslogtreecommitdiff
path: root/app/models/ci/runner.rb
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-12-03 13:25:20 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-12-03 13:25:20 +0100
commit0f5073d9bb2dc5c7677c31605d66e2cc30f48d1f (patch)
treee0e128f0f2bc3f6b668dd7c2874ec5462d37080b /app/models/ci/runner.rb
parent143b80bb37d9534ec0b48900d3ab3287c58f68f0 (diff)
downloadgitlab-ce-0f5073d9bb2dc5c7677c31605d66e2cc30f48d1f.tar.gz
Migrate runners token first before fully switching
Diffstat (limited to 'app/models/ci/runner.rb')
-rw-r--r--app/models/ci/runner.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/runner.rb b/app/models/ci/runner.rb
index a4645658c72..260348c97b2 100644
--- a/app/models/ci/runner.rb
+++ b/app/models/ci/runner.rb
@@ -10,7 +10,7 @@ module Ci
include FromUnion
include TokenAuthenticatable
- add_authentication_token_field :token, encrypted: true, fallback: true
+ add_authentication_token_field :token, encrypted: true, migrating: true
enum access_level: {
not_protected: 0,