using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace IRaCIS.Core.Infra.EFCore.Migrations { /// public partial class MaxLength : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "GCPAgencies", table: "Doctor", type: "nvarchar(max)", nullable: false, oldClrType: typeof(string), oldType: "nvarchar(400)", oldMaxLength: 400); migrationBuilder.AlterColumn( name: "BankName", table: "Doctor", type: "nvarchar(max)", nullable: false, oldClrType: typeof(string), oldType: "nvarchar(400)", oldMaxLength: 400); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "GCPAgencies", table: "Doctor", type: "nvarchar(400)", maxLength: 400, nullable: false, oldClrType: typeof(string), oldType: "nvarchar(max)"); migrationBuilder.AlterColumn( name: "BankName", table: "Doctor", type: "nvarchar(400)", maxLength: 400, nullable: false, oldClrType: typeof(string), oldType: "nvarchar(max)"); } } }