Sonarr/NzbDrone.Core/Datastore/Migrations/Migration20120118.cs

14 lines
320 B
C#
Raw Normal View History

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