33 lines
938 B
C#
33 lines
938 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace VOL.Core.Migrations
|
|
{
|
|
public partial class init028 : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AlterColumn<float>(
|
|
name: "WrongResults",
|
|
table: "Ai_Result",
|
|
type: "real",
|
|
nullable: true,
|
|
oldClrType: typeof(float),
|
|
oldType: "real");
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AlterColumn<float>(
|
|
name: "WrongResults",
|
|
table: "Ai_Result",
|
|
type: "real",
|
|
nullable: false,
|
|
defaultValue: 0f,
|
|
oldClrType: typeof(float),
|
|
oldType: "real",
|
|
oldNullable: true);
|
|
}
|
|
}
|
|
} |