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