using System; using Microsoft.EntityFrameworkCore.Migrations; namespace ThAmCo.Stock.Data.Migrations { public partial class MakeApprovedDateNullable : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "ApprovedTime", table: "OrderRequests", nullable: true, oldClrType: typeof(DateTime)); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "ApprovedTime", table: "OrderRequests", nullable: false, oldClrType: typeof(DateTime), oldNullable: true); } } }