mirror of
https://github.com/AlistGo/alist.git
synced 2025-06-05 09:34:41 +08:00
✨ change log
This commit is contained in:
@ -71,7 +71,7 @@ func InitModel() {
|
||||
default:
|
||||
log.Fatalf("not supported database type: %s", databaseConfig.Type)
|
||||
}
|
||||
log.Infof("auto migrate model")
|
||||
log.Infof("auto migrate model...")
|
||||
err := conf.DB.AutoMigrate(&model.SettingItem{}, &model.Account{}, &model.Meta{})
|
||||
if err != nil {
|
||||
log.Fatalf("failed to auto migrate")
|
||||
|
Reference in New Issue
Block a user