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
commit5849d34d9fcf1ccfb7fe5cc0842765129f7198b4 (patch)
tree8a4af35bd8fb2ca553025388532ef43b67408560 /BackEnd/Timeline/Services
parent118fb9b15ba62837a0befaad0aaea156b0488aea (diff)
downloadtimeline-5849d34d9fcf1ccfb7fe5cc0842765129f7198b4.tar.gz
timeline-5849d34d9fcf1ccfb7fe5cc0842765129f7198b4.tar.bz2
timeline-5849d34d9fcf1ccfb7fe5cc0842765129f7198b4.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);
}
}
}