feat: Initial commit

This commit is contained in:
engigu
2025-12-20 09:30:16 +08:00
commit 362237241e
189 changed files with 12035 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
package database
import (
"baihu/internal/models"
)
func Migrate() error {
return AutoMigrate(
&models.User{},
&models.Task{},
&models.TaskLog{},
&models.Script{},
&models.EnvironmentVariable{},
&models.Setting{},
)
}