diff --git a/FU.API/FU.API/Migrations/20231203001316_NonNullablePostDescription.cs b/FU.API/FU.API/Migrations/20231203001316_NonNullablePostDescription.cs index 47762e41..eb36bb12 100644 --- a/FU.API/FU.API/Migrations/20231203001316_NonNullablePostDescription.cs +++ b/FU.API/FU.API/Migrations/20231203001316_NonNullablePostDescription.cs @@ -1,9 +1,9 @@ -using Microsoft.EntityFrameworkCore.Migrations; - -#nullable disable +#nullable disable namespace FU.API.Migrations { + using Microsoft.EntityFrameworkCore.Migrations; + /// public partial class NonNullablePostDescription : Migration { @@ -15,7 +15,7 @@ protected override void Up(MigrationBuilder migrationBuilder) table: "Posts", type: "text", nullable: false, - defaultValue: "", + defaultValue: string.Empty, oldClrType: typeof(string), oldType: "text", oldNullable: true);