using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace LY.MicroService.TaskManagement.Migrations { public partial class RemoveDefaultValueWithJobSource : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "Source", table: "TK_BackgroundJobs", type: "int", nullable: false, oldClrType: typeof(int), oldType: "int", oldDefaultValue: -1); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "Source", table: "TK_BackgroundJobs", type: "int", nullable: false, defaultValue: -1, oldClrType: typeof(int), oldType: "int"); } } }