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:
parent
2eb1a64d82
commit
200e263f1f
@ -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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user