summaryrefslogtreecommitdiff
path: root/db/migrate/20210224133337_add_name_field_to_cluster_agent_token.rb
blob: 2cec37f84775618f94882ef06176435b686ce68b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

class AddNameFieldToClusterAgentToken < ActiveRecord::Migration[6.0]
  DOWNTIME = false

  # rubocop:disable Migration/AddLimitToTextColumns
  # limit is added in LimitClusterTokenSize
  def change
    add_column :cluster_agent_tokens, :name, :text
  end
  # rubocop:enable Migration/AddLimitToTextColumns
end