mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: update database migrator
This commit is contained in:
@@ -49,7 +49,7 @@ func (s *Store) MigrateResourceInternalPath(ctx context.Context) error {
|
||||
migratedCount++
|
||||
}
|
||||
|
||||
if migratedCount > 0 {
|
||||
if migratedCount > 0 && s.Profile.Mode == "prod" {
|
||||
log.Info(fmt.Sprintf("migrated %d local resource paths in %s", migratedCount, time.Since(migrateStartTime)))
|
||||
}
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user