YD_SmartSports.Api/VOL.Core/Migrations/20240723063243_init025.cs

27 lines
739 B
C#
Raw Normal View History

2025-06-06 16:00:39 +08:00
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace VOL.Core.Migrations
{
public partial class init025 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<double>(
name: "WrongResults",
table: "N_SportsTestValue",
type: "float",
nullable: false,
defaultValue: 0.0,
comment: "错误成绩");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "WrongResults",
table: "N_SportsTestValue");
}
}
}