mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
ExternalNotifications enabled (Xbmc only right now).
- Grab, Download, Rename Notification Settings for Xbmc uses definitions.
This commit is contained in:
parent
0ed898b6db
commit
ee4b6c9442
13 changed files with 211 additions and 175 deletions
30
NzbDrone.Core/Datastore/Migrations/Migration20110726.cs
Normal file
30
NzbDrone.Core/Datastore/Migrations/Migration20110726.cs
Normal file
|
@ -0,0 +1,30 @@
|
|||
using System;
|
||||
using System.Data;
|
||||
using Migrator.Framework;
|
||||
|
||||
namespace NzbDrone.Core.Datastore.Migrations
|
||||
{
|
||||
|
||||
[Migration(20110726)]
|
||||
public class Migration20110726 : Migration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
Database.RemoveTable("ExternalNotificationSettings");
|
||||
|
||||
Database.AddTable("ExternalNotificationDefinitions", new[]
|
||||
{
|
||||
new Column("Id", DbType.Int32, ColumnProperty.PrimaryKeyWithIdentity),
|
||||
new Column("Enable", DbType.Boolean, ColumnProperty.NotNull),
|
||||
new Column("ExternalNotificationProviderType", DbType.String, ColumnProperty.NotNull),
|
||||
new Column("Name", DbType.String, ColumnProperty.NotNull)
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue