Skip to content

accounts

Column NameTypeCommentDefaultNullRemark
idbigint UNSIGNEDAccount IDNOAuto Increment
aidvarchar(32)Account IDNOUnique
typetinyint UNSIGNEDType3NO1.Super Administrator
2.Regular Administrator
3.Regular User
emailvarchar(128)EmailYESUnique
phonevarchar(128)Phone Number with Area CodeYESUnique
country_calling_codevarchar(8)International Area CodeYESFormat without plus sign, e.g., Singapore is 65, USA is 1
passwordvarchar(64)PasswordYESEncrypted storage
birthdaydateBirthdayYES
last_login_attimestampLast Login TimeNO
is_verifytinyint UNSIGNEDReal Name Verification Status0NO0.Unverified / 1.Verified
verify_app_fskeyvarchar(64)Real Name Auth Plugin FskeyYESWhich plugin handled the authentication, Related field apps->fskey
verify_real_namevarchar(128)Certificate NameYES
verify_gendertinyint UNSIGNEDCertificate Gender1NO1.Unknown / 2.Male / 3.Female
verify_cert_typevarchar(32)Certificate TypeidcardYESidcard, passport, driving, business
verify_cert_numbervarchar(128)Certificate NumberYES
verify_identity_typetinyint UNSIGNEDReal Name Verification TypeYES1.Unknown / 2.Individual / 3.Company
verify_attimestampReal Name Verification TimeYES
verify_logtextVerification Result RecordYESFull backup of the returned data package
Note data desensitization
fs_connected_idvarchar(26)Fresns connected idYESUnique
fs_connected_tokenchar(64)Fresns connected tokenYESUnique
is_enabledtinyint UNSIGNEDIs Enabled1NO0.Disabled / 1.Normal
wait_deletetinyint UNSIGNEDIs Pending Deletion0NO0.No / 1.Yes
wait_delete_attimestampWaiting Delete TimeYES
created_attimestampCreate TimeuseCurrentNOFor example, MySQL defaults to CURRENT_TIMESTAMP
updated_attimestampUpdate TimeYES
deleted_attimestampDelete TimeYES

Released under the Apache-2.0 License