mirror of
https://github.com/Radarr/Radarr
synced 2024-12-27 02:09:59 +00:00
ee4b6c9442
- Grab, Download, Rename Notification Settings for Xbmc uses definitions.
30 lines
No EOL
1.2 KiB
C#
30 lines
No EOL
1.2 KiB
C#
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();
|
|
}
|
|
}
|
|
} |