Skip to content

Latest commit

 

History

History
14 lines (7 loc) · 1.3 KB

File metadata and controls

14 lines (7 loc) · 1.3 KB

OTP

sunbird.otp [PRIMARY KEY: (type, key)]

Table used to store OTP information

Column NameData TypeDescriptionSample Data
typetextOTP Communication modeEMAIL/PHONE
keytextEmail/Phone of the user98******10
attemptedcountintNumber of times OTP mismatch was identified 2
createdontimestamprecord created on timestamp
otptextOTP254789

sunbird.rate_limit [PRIMARY KEY: (key, unit)]

Table used to store rate limit information (number of requests per hour/day)

Column NameData TypeDescriptionSample Data
keytextEmail/Phone of the user[email protected]
unittextDAY/HOURDAY
countint1
rateintNumber of notifications that can be sent as per limit20