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.
This commit is contained in:
Steel City Phantom 2024-10-08 14:54:50 -04:00 committed by GitHub
parent 0cb0a2f46e
commit fb297adcf0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);
}
}