using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace BMA.EHR.Infrastructure.Migrations { /// public partial class updatetablecommandaddactdate : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "ActEndDate", table: "Commands", type: "datetime(6)", nullable: true, comment: "วันที่สิ้นสุดการรักษาการแทน"); migrationBuilder.AddColumn( name: "ActStartDate", table: "Commands", type: "datetime(6)", nullable: true, comment: "วันที่เริ่มรักษาการแทน"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "ActEndDate", table: "Commands"); migrationBuilder.DropColumn( name: "ActStartDate", table: "Commands"); } } }