summaryrefslogtreecommitdiff
path: root/db/migrate/20220502150408_add_slack_integrations_bot_columns.rb
blob: cb5b201e71e462be1d9760e45f266ffe98e974da (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class AddSlackIntegrationsBotColumns < Gitlab::Database::Migration[2.0]
  def change
    change_table :slack_integrations do |t|
      t.column :bot_user_id, :text
      t.column :encrypted_bot_access_token, :binary
      t.column :encrypted_bot_access_token_iv, :binary
    end
  end
end