79 lines
2.4 KiB
C#
79 lines
2.4 KiB
C#
![]() |
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace VOL.Core.Migrations
|
|||
|
{
|
|||
|
public partial class init016 : Migration
|
|||
|
{
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.AlterColumn<double>(
|
|||
|
name: "Standing",
|
|||
|
table: "I_SportsTestData",
|
|||
|
type: "float",
|
|||
|
nullable: false,
|
|||
|
oldClrType: typeof(int),
|
|||
|
oldType: "int");
|
|||
|
|
|||
|
migrationBuilder.AlterColumn<double>(
|
|||
|
name: "Speedeight",
|
|||
|
table: "I_SportsTestData",
|
|||
|
type: "float",
|
|||
|
nullable: false,
|
|||
|
oldClrType: typeof(int),
|
|||
|
oldType: "int");
|
|||
|
|
|||
|
migrationBuilder.AlterColumn<double>(
|
|||
|
name: "Kilometer",
|
|||
|
table: "I_SportsTestData",
|
|||
|
type: "float",
|
|||
|
nullable: false,
|
|||
|
oldClrType: typeof(int),
|
|||
|
oldType: "int");
|
|||
|
|
|||
|
migrationBuilder.AlterColumn<double>(
|
|||
|
name: "Hectometer",
|
|||
|
table: "I_SportsTestData",
|
|||
|
type: "float",
|
|||
|
nullable: false,
|
|||
|
oldClrType: typeof(int),
|
|||
|
oldType: "int");
|
|||
|
}
|
|||
|
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.AlterColumn<int>(
|
|||
|
name: "Standing",
|
|||
|
table: "I_SportsTestData",
|
|||
|
type: "int",
|
|||
|
nullable: false,
|
|||
|
oldClrType: typeof(double),
|
|||
|
oldType: "float");
|
|||
|
|
|||
|
migrationBuilder.AlterColumn<int>(
|
|||
|
name: "Speedeight",
|
|||
|
table: "I_SportsTestData",
|
|||
|
type: "int",
|
|||
|
nullable: false,
|
|||
|
oldClrType: typeof(double),
|
|||
|
oldType: "float");
|
|||
|
|
|||
|
migrationBuilder.AlterColumn<int>(
|
|||
|
name: "Kilometer",
|
|||
|
table: "I_SportsTestData",
|
|||
|
type: "int",
|
|||
|
nullable: false,
|
|||
|
oldClrType: typeof(double),
|
|||
|
oldType: "float");
|
|||
|
|
|||
|
migrationBuilder.AlterColumn<int>(
|
|||
|
name: "Hectometer",
|
|||
|
table: "I_SportsTestData",
|
|||
|
type: "int",
|
|||
|
nullable: false,
|
|||
|
oldClrType: typeof(double),
|
|||
|
oldType: "float");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|