mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-20 00:11:46 +02:00
25 lines
693 B
C#
25 lines
693 B
C#
using FluentMigrator;
|
|
using NzbDrone.Core.Datastore.Migration.Framework;
|
|
|
|
namespace NzbDrone.Core.Datastore.Migration
|
|
{
|
|
[Tags("")]
|
|
[Migration(4)]
|
|
public class updated_history : NzbDroneMigrationBase
|
|
{
|
|
protected override void MainDbUpgrade()
|
|
{
|
|
Delete.Table("History");
|
|
|
|
|
|
Create.TableForModel("History")
|
|
.WithColumn("EpisodeId").AsInt32()
|
|
.WithColumn("SeriesId").AsInt32()
|
|
.WithColumn("SourceTitle").AsString()
|
|
.WithColumn("Date").AsDateTime()
|
|
.WithColumn("Quality").AsString()
|
|
.WithColumn("Data").AsString();
|
|
}
|
|
}
|
|
}
|