mirror of
https://github.com/AlistGo/alist.git
synced 2025-04-23 05:44:04 +08:00
🔊 add reason of failed to auto migrate model
This commit is contained in:
parent
cc62cc99d2
commit
185795954b
@ -79,6 +79,6 @@ func InitModel() {
|
||||
err = conf.DB.AutoMigrate(&model.SettingItem{}, &model.Account{}, &model.Meta{})
|
||||
}
|
||||
if err != nil {
|
||||
log.Fatalf("failed to auto migrate")
|
||||
log.Fatalf("failed to auto migrate: %s", err.Error())
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user