@@ -76,6 +76,10 @@ func main() {
}(db)
}
if log.GetLevel() == log.DebugLevel {
db = db.Debug()
if err := db.Schema.Create(context.Background()); err != nil {
log.Panicf("automigrate failed: %v", err)
The note is not visible to the blocked user.