using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace vendorApproverBackend.Migrations { /// public partial class UpdateTheRequest4 : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "YearsInService", table: "ClientReference", type: "integer", nullable: true, oldClrType: typeof(string), oldType: "text", oldNullable: true); migrationBuilder.AlterColumn( name: "OrderYear", table: "ClientReference", type: "integer", nullable: true, oldClrType: typeof(string), oldType: "text", oldNullable: true); migrationBuilder.AlterColumn( name: "DeliveryYear", table: "ClientReference", type: "integer", nullable: true, oldClrType: typeof(string), oldType: "text", oldNullable: true); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "YearsInService", table: "ClientReference", type: "text", nullable: true, oldClrType: typeof(int), oldType: "integer", oldNullable: true); migrationBuilder.AlterColumn( name: "OrderYear", table: "ClientReference", type: "text", nullable: true, oldClrType: typeof(int), oldType: "integer", oldNullable: true); migrationBuilder.AlterColumn( name: "DeliveryYear", table: "ClientReference", type: "text", nullable: true, oldClrType: typeof(int), oldType: "integer", oldNullable: true); } } }