blob: 25e3f8fa806f92f61df9a8b7eda1f6e08e11c973 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# frozen_string_literal: true
class RemoveApplicationSettingsAiAccessTokenColumnCorrected < Gitlab::Database::Migration[2.2]
milestone '16.9'
def up
remove_column :application_settings, :encrypted_ai_access_token, if_exists: true
remove_column :application_settings, :encrypted_ai_access_token_iv, if_exists: true
end
def down
add_column :application_settings, :encrypted_ai_access_token, :binary, if_not_exists: true
add_column :application_settings, :encrypted_ai_access_token_iv, :binary, if_not_exists: true
end
end
|