blob: 9f411a61e5cd07beb2c15f916e9046ad61a5ada9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# frozen_string_literal: true
class AddSpamcheckApiKeyToApplicationSetting < ActiveRecord::Migration[6.0]
def up
add_column :application_settings, :encrypted_spam_check_api_key, :binary
add_column :application_settings, :encrypted_spam_check_api_key_iv, :binary
end
def down
remove_column :application_settings, :encrypted_spam_check_api_key
remove_column :application_settings, :encrypted_spam_check_api_key_iv
end
end
|