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

20190711200053_change_deploy_tokens_token_not_null.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 14ccf544d0b4a35732922594b5c2374c74a2d8c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class ChangeDeployTokensTokenNotNull < ActiveRecord::Migration[5.1]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def change
    change_column_null :deploy_tokens, :token, true
  end
end