using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace BMA.EHR.Infrastructure.Migrations { /// public partial class updatetablecommandreceiveaddrefdiscripline : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "RefDisciplineId", table: "CommandReceivers", type: "char(36)", nullable: true, comment: "รหัสอ้างอิงไปยังข้อมูลวินัย", collation: "ascii_general_ci"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "RefDisciplineId", table: "CommandReceivers"); } } }