Skeleton files and http
This commit is contained in:
+2
-2
@@ -2,7 +2,7 @@ package db
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
"log"
|
||||
"log/slog"
|
||||
"os"
|
||||
)
|
||||
|
||||
@@ -19,6 +19,6 @@ func Migrate(db *sql.DB, migrations []string) {
|
||||
res, err := db.Exec(string(data))
|
||||
_ = res
|
||||
CheckError(err)
|
||||
log.Print("Applied migration " + x)
|
||||
slog.Info("Applied migration", "name", x)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user