mirror of
https://github.com/ctwj/urldb.git
synced 2025-11-25 11:29:37 +08:00
add: 添加任务相关代码
This commit is contained in:
@@ -79,6 +79,8 @@ func InitDB() error {
|
||||
&entity.SystemConfig{},
|
||||
&entity.HotDrama{},
|
||||
&entity.ResourceView{},
|
||||
&entity.Task{},
|
||||
&entity.TaskItem{},
|
||||
)
|
||||
if err != nil {
|
||||
utils.Fatal("数据库迁移失败: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user