using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace VOL.Core.Migrations { public partial class init072 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "Weight", table: "Ai_SportsTestData", type: "float", nullable: true, comment: "体重"); migrationBuilder.AddColumn( name: "Height", table: "Ai_SportsTestData", type: "float", nullable: true, comment: "身高"); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "Weight", table: "Ai_SportsTestData", type: "double", nullable: true, comment: "体重", oldClrType: typeof(double), oldType: "float", oldNullable: true, oldComment: "体重"); migrationBuilder.AlterColumn( name: "Height", table: "Ai_SportsTestData", type: "double", nullable: true, comment: "身高", oldClrType: typeof(double), oldType: "float", oldNullable: true, oldComment: "身高"); } } }