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.
25 lines
1.0 KiB
25 lines
1.0 KiB
using System;
|
|
using System.Data;
|
|
using Migrator.Framework;
|
|
|
|
namespace NzbDrone.Core.Datastore.Migrations
|
|
{
|
|
|
|
[Migration(20110909)]
|
|
public class Migration20110909 : NzbDroneMigration
|
|
{
|
|
protected override void MainDbUpgrade()
|
|
{
|
|
Database.AddColumn("Series", "Runtime", DbType.Int32, ColumnProperty.Null);
|
|
Database.AddColumn("Series", "BannerUrl", DbType.String, ColumnProperty.Null);
|
|
|
|
Database.AddTable("QualityTypes", new[]
|
|
{
|
|
new Column("QualityTypeId", DbType.Int32, ColumnProperty.PrimaryKey),
|
|
new Column("Name", DbType.String, ColumnProperty.NotNull),
|
|
new Column("MinSize", DbType.Int32, ColumnProperty.NotNull),
|
|
new Column("MaxSize", DbType.Int32, ColumnProperty.NotNull)
|
|
});
|
|
}
|
|
}
|
|
} |