diff options
Diffstat (limited to 'db/migrate/20210819153805_set_default_job_token_scope_true.rb')
-rw-r--r-- | db/migrate/20210819153805_set_default_job_token_scope_true.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/db/migrate/20210819153805_set_default_job_token_scope_true.rb b/db/migrate/20210819153805_set_default_job_token_scope_true.rb deleted file mode 100644 index 4536f664950..00000000000 --- a/db/migrate/20210819153805_set_default_job_token_scope_true.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -class SetDefaultJobTokenScopeTrue < ActiveRecord::Migration[6.1] - include Gitlab::Database::MigrationHelpers - - def up - with_lock_retries do - change_column_default :project_ci_cd_settings, :job_token_scope_enabled, from: false, to: true - end - end - - def down - with_lock_retries do - change_column_default :project_ci_cd_settings, :job_token_scope_enabled, from: true, to: false - end - end -end |