28 lines
738 B
C#
Raw Normal View History

2026-05-06 13:56:24 +08:00
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace YD_WeChatApplet.Api.Migrations
{
public partial class _20250424v2 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "HomeWorkId",
table: "WCA_ExerciseData",
type: "int",
nullable: false,
defaultValue: 0,
comment: "作业Id");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "HomeWorkId",
table: "WCA_ExerciseData");
}
}
}