93 lines
5.6 KiB
C#
93 lines
5.6 KiB
C#
![]() |
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace VOL.Core.Migrations
|
|||
|
{
|
|||
|
public partial class init007 : Migration
|
|||
|
{
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.CreateTable(
|
|||
|
name: "I_SportsTestData",
|
|||
|
columns: table => new
|
|||
|
{
|
|||
|
Id = table.Column<int>(type: "int", nullable: false, comment: "Id")
|
|||
|
.Annotation("SqlServer:Identity", "1, 1"),
|
|||
|
SchoolCode = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
|||
|
SchoolName = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
|||
|
GradeId = table.Column<int>(type: "int", nullable: false),
|
|||
|
GradeName = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
|||
|
ClassId = table.Column<int>(type: "int", nullable: false),
|
|||
|
ClassName = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
|||
|
TeacherId = table.Column<int>(type: "int", nullable: false),
|
|||
|
TeacherName = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
|||
|
StudentNo = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
|||
|
StudentName = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
|||
|
StudenNumber = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
|||
|
Gender = table.Column<int>(type: "int", nullable: false),
|
|||
|
Height = table.Column<double>(type: "float", nullable: false),
|
|||
|
Weight = table.Column<double>(type: "float", nullable: false),
|
|||
|
Pulmonary = table.Column<int>(type: "int", nullable: false),
|
|||
|
Speed = table.Column<double>(type: "float", nullable: false),
|
|||
|
Pliable = table.Column<double>(type: "float", nullable: false),
|
|||
|
Rope = table.Column<int>(type: "int", nullable: false),
|
|||
|
Situp = table.Column<int>(type: "int", nullable: false),
|
|||
|
Speedeight = table.Column<int>(type: "int", nullable: false),
|
|||
|
Standing = table.Column<int>(type: "int", nullable: false),
|
|||
|
Chinning = table.Column<int>(type: "int", nullable: false),
|
|||
|
Kilometer = table.Column<int>(type: "int", nullable: false),
|
|||
|
Hectometer = table.Column<int>(type: "int", nullable: false),
|
|||
|
ScoreTime = table.Column<string>(type: "nvarchar(max)", nullable: true)
|
|||
|
},
|
|||
|
constraints: table =>
|
|||
|
{
|
|||
|
table.PrimaryKey("PK_I_SportsTestData", x => x.Id);
|
|||
|
});
|
|||
|
|
|||
|
migrationBuilder.CreateTable(
|
|||
|
name: "I_TankingLData",
|
|||
|
columns: table => new
|
|||
|
{
|
|||
|
Id = table.Column<int>(type: "int", nullable: false, comment: "Id")
|
|||
|
.Annotation("SqlServer:Identity", "1, 1"),
|
|||
|
ClassId = table.Column<int>(type: "int", nullable: false),
|
|||
|
TeacherId = table.Column<int>(type: "int", nullable: false),
|
|||
|
ItemType = table.Column<int>(type: "int", nullable: false),
|
|||
|
InsertTime = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
|||
|
EndTime = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
|||
|
TotalNumber = table.Column<int>(type: "int", nullable: false),
|
|||
|
TtotalGroup = table.Column<int>(type: "int", nullable: false),
|
|||
|
TrainType = table.Column<int>(type: "int", nullable: false),
|
|||
|
ModeType = table.Column<int>(type: "int", nullable: false),
|
|||
|
ModelName = table.Column<int>(type: "int", nullable: false),
|
|||
|
LimitTime = table.Column<int>(type: "int", nullable: false),
|
|||
|
LimitNumber = table.Column<int>(type: "int", nullable: false),
|
|||
|
GradeId = table.Column<int>(type: "int", nullable: false),
|
|||
|
ClassScore = table.Column<int>(type: "int", nullable: false),
|
|||
|
StudentNo = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
|||
|
StudentName = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
|||
|
Gender = table.Column<int>(type: "int", nullable: false),
|
|||
|
SecondsNumber = table.Column<double>(type: "float", nullable: false),
|
|||
|
speedTime = table.Column<double>(type: "float", nullable: false),
|
|||
|
Kcal = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
|||
|
Efficiency = table.Column<double>(type: "float", nullable: false),
|
|||
|
ResultLevel = table.Column<int>(type: "int", nullable: false),
|
|||
|
JumpValue = table.Column<int>(type: "int", nullable: false),
|
|||
|
ErrorNumber = table.Column<int>(type: "int", nullable: false),
|
|||
|
StuAgileSpeedTimeNumber = table.Column<int>(type: "int", nullable: false),
|
|||
|
HeartRatePercentage = table.Column<int>(type: "int", nullable: false),
|
|||
|
HighHeartRate = table.Column<int>(type: "int", nullable: false),
|
|||
|
LowHeartRate = table.Column<int>(type: "int", nullable: false)
|
|||
|
},
|
|||
|
constraints: table =>
|
|||
|
{
|
|||
|
table.PrimaryKey("PK_I_TankingLData", x => x.Id);
|
|||
|
});
|
|||
|
}
|
|||
|
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
}
|
|||
|
}
|
|||
|
}
|