using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace StandManager.Infrastructure.Migrations { /// public partial class NullableIscrizioneEvento : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "RagioneSociale", table: "IscrizioneEvento", type: "nvarchar(max)", nullable: true, oldClrType: typeof(string), oldType: "nvarchar(max)"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "RagioneSociale", table: "IscrizioneEvento", type: "nvarchar(max)", nullable: false, defaultValue: "", oldClrType: typeof(string), oldType: "nvarchar(max)", oldNullable: true); } } }