mirror of
https://github.com/docusealco/docuseal
synced 2026-11-08 15:42:32 -05:00
refactor otp
This commit is contained in:
1 parent
a847e7aa9c
commit
e187644716
9 files changed
+121
-37
No files matched your search
@@ -0,0 +1,21 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: otp_challenges
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# attempts :integer default(0), not null
|
||||
# expire_at :datetime not null
|
||||
# key :string not null
|
||||
# nonce :string not null
|
||||
# verified_at :datetime
|
||||
# version :integer not null
|
||||
# created_at :datetime not null
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_otp_challenges_on_key_and_version (key,version) UNIQUE
|
||||
#
|
||||
class OtpChallenge < ApplicationRecord
|
||||
end
|
||||
Reference in new issue
Block a user