36 lines
983 B
C#
36 lines
983 B
C#
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace VOL.Core.Migrations
|
|||
|
{
|
|||
|
public partial class _20250807v1 : Migration
|
|||
|
{
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
|
|||
|
migrationBuilder.AddColumn<string>(
|
|||
|
name: "RedeemCode",
|
|||
|
table: "Y_CurricularTaxonomy",
|
|||
|
type: "nvarchar(1000)",
|
|||
|
nullable: true,
|
|||
|
comment: "兑换码");
|
|||
|
}
|
|||
|
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.DropColumn(
|
|||
|
name: "RedeemCode",
|
|||
|
table: "Y_CurricularTaxonomy");
|
|||
|
|
|||
|
migrationBuilder.AddColumn<int>(
|
|||
|
name: "ClassroomStageId",
|
|||
|
table: "Ai_ClassRoomRecord",
|
|||
|
type: "int",
|
|||
|
nullable: false,
|
|||
|
defaultValue: 0,
|
|||
|
comment: "阶段Id");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|