tinyforms/db/migrate/20200408212150_add_lockbox_columns.rb
2020-04-28 01:40:06 +02:00

11 lines
341 B
Ruby

# frozen_string_literal: true
class AddLockboxColumns < ActiveRecord::Migration[6.0]
def change
add_column :authentications, :access_token_ciphertext, :text
add_column :authentications, :refresh_token_ciphertext, :text
remove_column :authentications, :access_token
remove_column :authentications, :refresh_token
end
end