using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb { /// public partial class updatetableDisciplineDisciplinary_ProfileComplaintInvestigatesaddIsAncestorDNA : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "IsAncestorDNA", table: "DisciplineInvestigate_ProfileComplaints", type: "tinyint(1)", nullable: true, comment: "รายการเก่า"); migrationBuilder.AddColumn( name: "IsAncestorDNA", table: "DisciplineDisciplinary_ProfileComplaintInvestigates", type: "tinyint(1)", nullable: true, comment: "รายการเก่า"); migrationBuilder.AddColumn( name: "IsAncestorDNA", table: "DisciplineComplaint_Profiles", type: "tinyint(1)", nullable: true, comment: "รายการเก่า"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "IsAncestorDNA", table: "DisciplineInvestigate_ProfileComplaints"); migrationBuilder.DropColumn( name: "IsAncestorDNA", table: "DisciplineDisciplinary_ProfileComplaintInvestigates"); migrationBuilder.DropColumn( name: "IsAncestorDNA", table: "DisciplineComplaint_Profiles"); } } }