mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-15 05:34:53 +08:00
10 lines
253 B
Ruby
10 lines
253 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Add2faToUsers < ActiveRecord::Migration[6.0]
|
|
def change
|
|
change_table :users, bulk: true do |t|
|
|
t.boolean :two_factor_auth_enabled, default: false, null: false
|
|
t.string :otp_secret
|
|
end
|
|
end
|
|
end
|