add pg conf

This commit is contained in:
noreply
2024-04-10 11:00:50 +08:00
parent 71f0a9cdc3
commit aae8308973
17 changed files with 419 additions and 113 deletions
+2 -2
View File
@@ -7,8 +7,8 @@ const (
// WalletAddress 钱包表
type WalletAddress struct {
Token string `gorm:"column:token" json:"token"` // 钱包token
Status int64 `gorm:"column:status" json:"status"` // 1:启用 2:禁用
Token string `gorm:"index:wallet_address_token_index;column:token" json:"token"` // 钱包token
Status int64 `gorm:"column:status;default:1" json:"status"` // 1:启用 2:禁用
BaseModel
}