s
This commit is contained in:
parent
3969283904
commit
5c3471dbcd
7498
VOL.Core/Migrations/20250710032907_20250710v3.Designer.cs
generated
Normal file
7498
VOL.Core/Migrations/20250710032907_20250710v3.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
39
VOL.Core/Migrations/20250710032907_20250710v3.cs
Normal file
39
VOL.Core/Migrations/20250710032907_20250710v3.cs
Normal file
@ -0,0 +1,39 @@
|
||||
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<int>(
|
||||
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<int>(
|
||||
name: "ClassroomStageId",
|
||||
table: "Ai_ClassRoomRecord",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 0,
|
||||
comment: "阶段Id");
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user