-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #76 exception mgs column too small
- Loading branch information
1 parent
0dab204
commit 9a62234
Showing
4 changed files
with
149 additions
and
42 deletions.
There are no files selected for viewing
78 changes: 78 additions & 0 deletions
78
...ry.EntityFramework.SqlServer/Migrations/20170711052447_ResizeExceptionMessage.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
33 changes: 33 additions & 0 deletions
33
...ler.History.EntityFramework.SqlServer/Migrations/20170711052447_ResizeExceptionMessage.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
| ||
using Microsoft.EntityFrameworkCore.Migrations; | ||
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member | ||
|
||
namespace NullDesk.Extensions.Mailer.History.EntityFramework.SqlServer.Migrations | ||
{ | ||
|
||
public partial class ResizeExceptionMessage : Migration | ||
{ | ||
protected override void Up(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.AlterColumn<string>( | ||
name: "ExceptionMessage", | ||
table: "MessageHistory", | ||
nullable: true, | ||
oldClrType: typeof(string), | ||
oldMaxLength: 500, | ||
oldNullable: true); | ||
} | ||
|
||
protected override void Down(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.AlterColumn<string>( | ||
name: "ExceptionMessage", | ||
table: "MessageHistory", | ||
maxLength: 500, | ||
nullable: true, | ||
oldClrType: typeof(string), | ||
oldNullable: true); | ||
} | ||
} | ||
} | ||
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters