From 652e1b329200f52b4f8b46599d271162d97cdef0 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Fri, 11 Jul 2025 13:53:46 -0500 Subject: naming --- src/slskd/Core/Data/Migrations/Z07062025_TransferIndexesMigration.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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"); -- cgit v1.2.3