switch to mysql driver, separate pgx logic, handle no-change migration

This commit is contained in:
2024-11-23 17:08:03 +01:00
parent 21a9683bf1
commit 198bceb9ba
5 changed files with 36 additions and 26 deletions
+1
View File
@@ -151,6 +151,7 @@ func (a *App) Migrate(database embed.FS) {
}
if errors.Is(err, migrate.ErrNoChange) {
slog.Info("migration has no changes")
return
}
slog.Info("migration done")