mirror of
https://github.com/Radarr/Radarr
synced 2026-05-09 11:10:23 +02:00
Add RetroApplyTags column to multiple tables
Changed the RetroApplyTags column type in ImportLists to Boolean. Added RetroApplyTags column to Notifications, Indexers, and DownloadClients with a default value of false. This ensures consistent behavior across these tables.
This commit is contained in:
parent
fb297adcf0
commit
dae2c030aa
1 changed files with 4 additions and 3 deletions
|
|
@ -8,8 +8,9 @@ public class add_retroapply_to_importlists : NzbDroneMigrationBase
|
|||
{
|
||||
protected override void MainDbUpgrade()
|
||||
{
|
||||
Alter.Table("ImportLists").AddColumn("RetroApplyTags").AsInt32().WithDefaultValue(0);
|
||||
Alter.Table("Notifications").AddColumn("RetroApplyTags").AsInt32().WithDefaultValue(0);
|
||||
Alter.Table("Indexers").AddColumn("RetroApplyTags").AsInt32().WithDefaultValue(0);
|
||||
Alter.Table("ImportLists").AddColumn("RetroApplyTags").AsBoolean().WithDefaultValue(false);
|
||||
Alter.Table("Notifications").AddColumn("RetroApplyTags").AsBoolean().WithDefaultValue(false);
|
||||
Alter.Table("Indexers").AddColumn("RetroApplyTags").AsBoolean().WithDefaultValue(false);
|
||||
Alter.Table("DownloadClients").AddColumn("RetroApplyTags").AsBoolean().WithDefaultValue(false);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue