aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Services
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-02-12 22:32:10 +0800
committercrupest <crupest@outlook.com>2021-02-12 22:32:10 +0800
commit83910122bfd0aa9bd207b6d5f631774415312716 (patch)
tree7d7fe2cb488c6cdf6fc45d1eb9281d51c31cf7ac /BackEnd/Timeline/Services
parente74195ae38450b54b5e5f376796d78e6da4fc1ae (diff)
downloadtimeline-83910122bfd0aa9bd207b6d5f631774415312716.tar.gz
timeline-83910122bfd0aa9bd207b6d5f631774415312716.tar.bz2
timeline-83910122bfd0aa9bd207b6d5f631774415312716.zip
fix: Fix migration bug.
Diffstat (limited to 'BackEnd/Timeline/Services')
-rw-r--r--BackEnd/Timeline/Services/Migration/CustomMigrationManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/BackEnd/Timeline/Services/Migration/CustomMigrationManager.cs b/BackEnd/Timeline/Services/Migration/CustomMigrationManager.cs
index ba86e10b..f6f156cc 100644
--- a/BackEnd/Timeline/Services/Migration/CustomMigrationManager.cs
+++ b/BackEnd/Timeline/Services/Migration/CustomMigrationManager.cs
@@ -36,7 +36,7 @@ namespace Timeline.Services.Migration
if (!did)
{
- _logger.LogInformation("Begin custom migration '{0}'.", name);
+ _logger.LogWarning("Begin custom migration '{0}'.", name);
await using var transaction = await _database.Database.BeginTransactionAsync();
@@ -47,7 +47,7 @@ namespace Timeline.Services.Migration
await transaction.CommitAsync();
- _logger.LogInformation("End custom migration '{0}'.", name);
+ _logger.LogWarning("End custom migration '{0}'.", name);
}
}
}