using System; using Microsoft.EntityFrameworkCore.Migrations; namespace CompanyManagment.EFCore.Migrations { public partial class checkout : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "Signature", table: "Checkouts", type: "nvarchar(20)", maxLength: 20, nullable: true, oldClrType: typeof(string), oldType: "nvarchar(max)", oldNullable: true); migrationBuilder.AlterColumn( name: "IsActiveString", table: "Checkouts", type: "nvarchar(10)", maxLength: 10, nullable: true, oldClrType: typeof(string), oldType: "nvarchar(max)", oldNullable: true); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "Signature", table: "Checkouts", type: "nvarchar(max)", nullable: true, oldClrType: typeof(string), oldType: "nvarchar(20)", oldMaxLength: 20, oldNullable: true); migrationBuilder.AlterColumn( name: "IsActiveString", table: "Checkouts", type: "nvarchar(max)", nullable: true, oldClrType: typeof(string), oldType: "nvarchar(10)", oldMaxLength: 10, oldNullable: true); } } }