auto migrate test

pull/218/head
Gordon 3 years ago
parent 7827749453
commit c4d80b4844

@ -108,6 +108,7 @@ type GroupMember struct {
JoinTime time.Time `gorm:"column:join_time"`
JoinSource int32 `gorm:"column:join_source"`
OperatorUserID string `gorm:"column:operator_user_id;size:64"`
MuteEndTime time.Time `gorm:"column:mute_end_time"`
Ex string `gorm:"column:ex;size:1024"`
}
@ -220,4 +221,4 @@ type Conversation struct {
func (Conversation) TableName() string {
return "conversations"
}
}

Loading…
Cancel
Save