@@ -10,7 +10,7 @@ import (
|
||||
type Kyc struct {
|
||||
Id uint `json:"id" gorm:"primarykey;autoincrement"`
|
||||
UUID uuid.UUID `json:"uuid" gorm:"type:uuid;uniqueindex;not null"`
|
||||
UserId uuid.UUID `json:"user_id" gorm:"type:uuid;not null"` // 已移除 uniqueindex
|
||||
UserId uuid.UUID `json:"user_id" gorm:"type:uuid;not null"`
|
||||
KycId uuid.UUID `json:"kyc_id" gorm:"type:uuid;uniqueindex;not null"`
|
||||
Type string `json:"type" gorm:"type:varchar(255);not null"`
|
||||
KycInfo string `json:"kyc_info" gorm:"type:text"` // aes256(base64)
|
||||
|
||||
Reference in New Issue
Block a user