-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #166 from jihadkhawaja/end-to-end-encryption
End to end bug fix
- Loading branch information
Showing
20 changed files
with
891 additions
and
54 deletions.
There are no files selected for viewing
225 changes: 225 additions & 0 deletions
225
src/Egroo.Server/Migrations/20240411070947_allow_empty_pending_message_content.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
36 changes: 36 additions & 0 deletions
36
src/Egroo.Server/Migrations/20240411070947_allow_empty_pending_message_content.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,36 @@ | ||
using Microsoft.EntityFrameworkCore.Migrations; | ||
|
||
#nullable disable | ||
|
||
namespace Egroo.Server.Migrations | ||
{ | ||
/// <inheritdoc /> | ||
public partial class allow_empty_pending_message_content : Migration | ||
{ | ||
/// <inheritdoc /> | ||
protected override void Up(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.AlterColumn<string>( | ||
name: "Content", | ||
table: "UsersPendingMessages", | ||
type: "text", | ||
nullable: true, | ||
oldClrType: typeof(string), | ||
oldType: "text"); | ||
} | ||
|
||
/// <inheritdoc /> | ||
protected override void Down(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.AlterColumn<string>( | ||
name: "Content", | ||
table: "UsersPendingMessages", | ||
type: "text", | ||
nullable: false, | ||
defaultValue: "", | ||
oldClrType: typeof(string), | ||
oldType: "text", | ||
oldNullable: true); | ||
} | ||
} | ||
} |
Oops, something went wrong.