33 lines
867 B
C#
33 lines
867 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace VOL.Core.Migrations
|
|
{
|
|
public partial class v1 : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<int>(
|
|
name: "CurricularType",
|
|
table: "Y_CurricularTaxonomy",
|
|
type: "int",
|
|
nullable: false,
|
|
defaultValue: 0,
|
|
comment: "课程类型");
|
|
}
|
|
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "CurricularType",
|
|
table: "Y_CurricularTaxonomy");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "ClassroomStageId",
|
|
table: "Ai_HeartRateData");
|
|
}
|
|
}
|
|
}
|