feat: add auto migrate and init account

This commit is contained in:
engigu
2024-01-07 21:30:59 +08:00
parent 312c591063
commit 63f6e93894
9 changed files with 116 additions and 36 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ import (
type SendTasks struct {
UUIDModel
Name string `json:"name"`
Name string `json:"name" gorm:"type:varchar(100) comment '任务名称';default:'';"`
}
// AddSendTaskWithID 添加实例的时候添加任务