mirror of
https://github.com/Radarr/Radarr
synced 2024-12-26 17:59:14 +00:00
23 lines
No EOL
965 B
C#
23 lines
No EOL
965 B
C#
using System;
|
|
using System.Data;
|
|
using Migrator.Framework;
|
|
|
|
namespace NzbDrone.Core.Datastore.Migrations
|
|
{
|
|
|
|
[Migration(20111112)]
|
|
public class Migration2011112 : NzbDroneMigration
|
|
{
|
|
protected override void MainDbUpgrade()
|
|
{
|
|
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)
|
|
});
|
|
}
|
|
}
|
|
} |