feat: change log level to info when running migrations
When upgrading my installation, I noticed that `miniflux -migrate` does not provide any output by default. This can be a bit confusing since one cannot be sure whether anything has happened. Use `Info` instead of `Debug` to provide some basic output by default.
This commit is contained in:
parent
a8ac3dec47
commit
9b8eabf036
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ func Migrate(db *sql.DB) error {
|
|||
var currentVersion int
|
||||
db.QueryRow(`SELECT version FROM schema_version`).Scan(¤tVersion)
|
||||
|
||||
slog.Debug("Running database migrations",
|
||||
slog.Info("Running database migrations",
|
||||
slog.Int("current_version", currentVersion),
|
||||
slog.Int("latest_version", schemaVersion),
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue