aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Core/Data/Migrations/Z07062025_TransferIndexesMigration.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Core/Data/Migrations/Z07062025_TransferIndexesMigration.cs b/src/slskd/Core/Data/Migrations/Z07062025_TransferIndexesMigration.cs
index 62ff9e7b..53e6e044 100644
--- a/src/slskd/Core/Data/Migrations/Z07062025_TransferIndexesMigration.cs
+++ b/src/slskd/Core/Data/Migrations/Z07062025_TransferIndexesMigration.cs
@@ -35,8 +35,8 @@ public class Z07062025_TransferIndexesMigration : IMigration
public bool NeedsToBeApplied()
{
// check to see if *BOTH* of the indexes are in place. if one or both are missing, we must apply
- var schema = SchemaInspector.GetDatabaseIndexes(ConnectionString);
- var txfers = schema["Transfers"];
+ var idxes = SchemaInspector.GetDatabaseIndexes(ConnectionString);
+ var txfers = idxes["Transfers"];
var directionExists = txfers.Any(c => c.Name == "IDX_Transfers_Direction");
var stateExists = txfers.Any(c => c.Name == "IDX_Transfers_State");