switch to mysql driver, separate pgx logic, handle no-change migration
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user