using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace VOL.Core.Migrations { public partial class _20250710v3 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "ClassroomStageId", table: "Ai_ClassRoomRecord"); migrationBuilder.AddColumn( name: "ClassroomStageId", table: "Ai_HeartRateData", type: "int", nullable: false, defaultValue: 0, comment: "阶段Id"); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "ClassroomStageId", table: "Ai_HeartRateData"); migrationBuilder.AddColumn( name: "ClassroomStageId", table: "Ai_ClassRoomRecord", type: "int", nullable: false, defaultValue: 0, comment: "阶段Id"); } } }