Skip to content
Snippets Groups Projects
Commit 7f061ea0 authored by Benedikt Heinrichs's avatar Benedikt Heinrichs
Browse files

Merge branch 'Product/572-fixLoggingMiddleware' into 'master'

Fix: Adjustment to the Logging Table

See merge request coscine/cs/database!40
parents 7bbc0961 1c862458
No related branches found
No related tags found
1 merge request!40Fix: Adjustment to the Logging Table
using FluentMigrator;
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
using System.Xml.Linq;
namespace Coscine.Database.Migration.Migrations
{
//yyyymmddhhmm
[Migration(202001071100)]
public class Migration202001071100ExtendLogging : FluentMigrator.Migration
{
public override void Down()
{
Alter.Column("Message").OnTable("Log").AsString(500).Nullable();
}
public override void Up()
{
Alter.Column("Message").OnTable("Log").AsString(Int32.MaxValue).Nullable();
}
}
}
\ No newline at end of file
......@@ -160,6 +160,7 @@
<Compile Include="Migrations\Migration201912060900BucketApplication.cs" />
<Compile Include="Migrations\Migration201912091553ShibbolethAddition.cs" />
<Compile Include="Migrations\Migration201911121400Logging.cs" />
<Compile Include="Migrations\Migration202001071100ExtendLogging.cs" />
<Compile Include="Migrator.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment