Fix the bridge and share entity.

This commit is contained in:
zicla
2019-04-29 02:14:12 +08:00
parent 120d9a55c8
commit ca721c78e6
12 changed files with 641 additions and 9 deletions

View File

@ -8,7 +8,7 @@ import "github.com/eyebluecn/tank/code/core"
type Footprint struct {
Base
UserUuid string `json:"userUuid" gorm:"type:char(36)"`
Ip string `json:"ip" gorm:"type:varchar(128) not null;index:idx_dt"`
Ip string `json:"ip" gorm:"type:varchar(128) not null"`
Host string `json:"host" gorm:"type:varchar(45) not null"`
Uri string `json:"uri" gorm:"type:varchar(255) not null"`
Params string `json:"params" gorm:"type:text"`