From fb297adcf0351b7df6cc02ac89177d4e8c04eb1b Mon Sep 17 00:00:00 2001 From: Steel City Phantom Date: Tue, 8 Oct 2024 14:54:50 -0400 Subject: [PATCH] Add RetroApplyTags column to additional tables Enhanced the migration script to include the RetroApplyTags column for the Notifications and Indexers tables, ensuring consistent data structure across related tables. This column is added with a default value of 0, similar to the ImportLists table. --- .../Datastore/Migration/241_add_retroapply_to_importlists.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/NzbDrone.Core/Datastore/Migration/241_add_retroapply_to_importlists.cs b/src/NzbDrone.Core/Datastore/Migration/241_add_retroapply_to_importlists.cs index 2b80ffd0ca..4ff343a636 100644 --- a/src/NzbDrone.Core/Datastore/Migration/241_add_retroapply_to_importlists.cs +++ b/src/NzbDrone.Core/Datastore/Migration/241_add_retroapply_to_importlists.cs @@ -9,5 +9,7 @@ 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); } }