1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-18 21:35:27 -04:00

Clear the connection pool in the backdoor migration to prevent occasional conflicts with following migrations

This commit is contained in:
Taloth Saldono
2019-12-18 20:39:31 +01:00
parent 93b20960b8
commit 07f5c21a07
@@ -43,6 +43,8 @@ namespace NzbDrone.Core.Datastore.Migration
using (var connection = new SQLiteConnection(ConnectionString))
using (var command = connection.CreateCommand())
{
SQLiteConnection.ClearPool(connection);
connection.Open();
command.CommandText = "SELECT Description FROM VersionInfo WHERE Version = 111";