1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02:00
Sonarr/NzbDrone.Services/NzbDrone.Services.Service/Migrations/Migration20120203.cs

31 lines
1.3 KiB
C#

using System;
using System.Data;
using Migrator.Framework;
namespace NzbDrone.Services.Service.Migrations
{
[Migration(20120203)]
public class Migration20120203 : Migration
{
public override void Up()
{
Database.AddTable("ExceptionReports", new[]
{
new Column("Type", DbType.String, ColumnProperty.PrimaryKey),
new Column("Logger", DbType.String, ColumnProperty.PrimaryKey),
new Column("LogMessage", DbType.String, ColumnProperty.PrimaryKey),
new Column("String", DbType.String, 4000, ColumnProperty.PrimaryKey),
MigrationsHelper.UGuidColumn,
MigrationsHelper.TimestampColumn,
MigrationsHelper.VersionColumn,
MigrationsHelper.ProductionColumn
});
}
public override void Down()
{
throw new NotImplementedException();
}
}
}