mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-02 16:52:04 +02:00
Deleting any series with seriesid =0 during migration.
This commit is contained in:
14
NzbDrone.Core/Datastore/Migrations/Migration20120118.cs
Normal file
14
NzbDrone.Core/Datastore/Migrations/Migration20120118.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Migrator.Framework;
|
||||
|
||||
namespace NzbDrone.Core.Datastore.Migrations
|
||||
{
|
||||
|
||||
[Migration(20120118)]
|
||||
public class Migration20120118 : NzbDroneMigration
|
||||
{
|
||||
protected override void MainDbUpgrade()
|
||||
{
|
||||
Database.ExecuteNonQuery("DELETE FROM SERIES WHERE SeriesID = 0");
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user