mirror of https://github.com/Sonarr/Sonarr
Prevent deletion of chowngroup we may need it later
This commit is contained in:
parent
2eb1a64d82
commit
200e263f1f
|
@ -5,11 +5,12 @@ using NzbDrone.Core.Datastore.Migration.Framework;
|
||||||
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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue