scinote-web/db/migrate/20200709142830_add_otp_recovery_codes_to_users.rb

10 lines
203 B
Ruby
Raw Normal View History

2020-07-09 23:01:00 +08:00
# frozen_string_literal: true
class AddOtpRecoveryCodesToUsers < ActiveRecord::Migration[6.0]
def change
change_table :users, bulk: true do |t|
t.jsonb :otp_recovery_codes
end
end
end