mirror of https://github.com/lidarr/Lidarr
Deleting any series with seriesid =0 during migration.
This commit is contained in:
parent
d967d4198c
commit
a93846d2d8
|
@ -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");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -208,6 +208,7 @@
|
||||||
<Compile Include="Datastore\MigrationLogger.cs" />
|
<Compile Include="Datastore\MigrationLogger.cs" />
|
||||||
<Compile Include="Datastore\MigrationsHelper.cs" />
|
<Compile Include="Datastore\MigrationsHelper.cs" />
|
||||||
<Compile Include="Datastore\CustomeMapper.cs" />
|
<Compile Include="Datastore\CustomeMapper.cs" />
|
||||||
|
<Compile Include="Datastore\Migrations\Migration20120118.cs" />
|
||||||
<Compile Include="Datastore\Migrations\Migration20111125.cs" />
|
<Compile Include="Datastore\Migrations\Migration20111125.cs" />
|
||||||
<Compile Include="Datastore\Migrations\Migration20111112.cs" />
|
<Compile Include="Datastore\Migrations\Migration20111112.cs" />
|
||||||
<Compile Include="Datastore\Migrations\Migration20111011.cs" />
|
<Compile Include="Datastore\Migrations\Migration20111011.cs" />
|
||||||
|
|
Loading…
Reference in New Issue