35 lines
1.0 KiB
C#
35 lines
1.0 KiB
C#
![]() |
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace VOL.Core.Migrations
|
|||
|
{
|
|||
|
public partial class init026 : Migration
|
|||
|
{
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.AlterColumn<double>(
|
|||
|
name: "WrongResults",
|
|||
|
table: "N_SportsTestValue",
|
|||
|
type: "float",
|
|||
|
nullable: false,
|
|||
|
comment: "错误成绩",
|
|||
|
oldClrType: typeof(double),
|
|||
|
oldType: "double",
|
|||
|
oldComment: "错误成绩");
|
|||
|
}
|
|||
|
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.AlterColumn<double>(
|
|||
|
name: "WrongResults",
|
|||
|
table: "N_SportsTestValue",
|
|||
|
type: "double",
|
|||
|
nullable: false,
|
|||
|
comment: "错误成绩",
|
|||
|
oldClrType: typeof(double),
|
|||
|
oldType: "float",
|
|||
|
oldComment: "错误成绩");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|