You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
677 B
23 lines
677 B
using FluentMigrator;
|
|
using NzbDrone.Core.Datastore.Migration.Framework;
|
|
|
|
namespace NzbDrone.Core.Datastore.Migration
|
|
{
|
|
[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();
|
|
}
|
|
}
|
|
}
|