1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

Cleanup migration 131

This commit is contained in:
Mark McDowall 2019-07-26 17:46:30 -07:00
parent e6c34f4311
commit d320017e3c

View File

@ -9,11 +9,11 @@ public class download_propers_config : NzbDroneMigrationBase
{
protected override void MainDbUpgrade()
{
Execute.WithConnection(SetMetadataFileExtension);
Execute.WithConnection(SetConfigValue);
Execute.Sql("DELETE FROM Config WHERE Key = 'autodownloadpropers'");
}
private void SetMetadataFileExtension(IDbConnection conn, IDbTransaction tran)
private void SetConfigValue(IDbConnection conn, IDbTransaction tran)
{
using (var cmd = conn.CreateCommand())
{