1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02:00

Prevent deletion of chowngroup we may need it later

This commit is contained in:
Taloth Saldono 2020-06-10 17:40:26 +02:00
parent 2eb1a64d82
commit 200e263f1f

View File

@ -5,11 +5,12 @@
namespace NzbDrone.Core.Datastore.Migration namespace NzbDrone.Core.Datastore.Migration
{ {
[Migration(140)] [Migration(140)]
public class remove_chown_and_folderchmod_config : NzbDroneMigrationBase public class remove_chown_and_folderchmod_config_v2 : NzbDroneMigrationBase
{ {
protected override void MainDbUpgrade() protected override void MainDbUpgrade()
{ {
Execute.Sql("DELETE FROM config WHERE Key IN ('folderchmod', 'chownuser', 'chowngroup')"); Execute.Sql("DELETE FROM config WHERE Key IN ('folderchmod', 'chownuser')");
// Note: v1 version of migration removed 'chowngroup'
} }
} }
} }