1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-26 17:59:14 +00:00
Radarr/NzbDrone.Services/NzbDrone.Services.Service/Migrations/Migration20120203.cs

31 lines
No EOL
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();
}
}
}