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

Fix: Adjustment to the Logging Table

parent 7bbc0961
No related branches found
No related tags found
No related merge requests found
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 @@ ...@@ -160,6 +160,7 @@
<Compile Include="Migrations\Migration201912060900BucketApplication.cs" /> <Compile Include="Migrations\Migration201912060900BucketApplication.cs" />
<Compile Include="Migrations\Migration201912091553ShibbolethAddition.cs" /> <Compile Include="Migrations\Migration201912091553ShibbolethAddition.cs" />
<Compile Include="Migrations\Migration201911121400Logging.cs" /> <Compile Include="Migrations\Migration201911121400Logging.cs" />
<Compile Include="Migrations\Migration202001071100ExtendLogging.cs" />
<Compile Include="Migrator.cs" /> <Compile Include="Migrator.cs" />
<Compile Include="Program.cs" /> <Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.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