mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
Newznab providers can be configured by the end user.
This commit is contained in:
parent
f3f2691b4d
commit
6c86f1dfdd
13 changed files with 503 additions and 18 deletions
28
NzbDrone.Core/Datastore/Migrations/Migration20111112.cs
Normal file
28
NzbDrone.Core/Datastore/Migrations/Migration20111112.cs
Normal file
|
@ -0,0 +1,28 @@
|
|||
using System;
|
||||
using System.Data;
|
||||
using Migrator.Framework;
|
||||
|
||||
namespace NzbDrone.Core.Datastore.Migrations
|
||||
{
|
||||
|
||||
[Migration(20111112)]
|
||||
public class Migration2011112 : Migration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
Database.AddTable("NewznabDefinitions", new[]
|
||||
{
|
||||
new Column("Id", DbType.Int32, ColumnProperty.PrimaryKeyWithIdentity),
|
||||
new Column("Enable", DbType.Boolean, ColumnProperty.NotNull),
|
||||
new Column("Name", DbType.String, ColumnProperty.Null),
|
||||
new Column("Url", DbType.String, ColumnProperty.Null),
|
||||
new Column("ApiKey", DbType.String, ColumnProperty.Null)
|
||||
});
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue