using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace VOL.Core.Migrations { public partial class init033 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "Gender", table: "Ai_Result", type: "int", nullable: false, defaultValue: 0, comment: "性别"); migrationBuilder.AddColumn( name: "Height", table: "Ai_Result", type: "float", nullable: true, comment: "身高"); migrationBuilder.AddColumn( name: "StudentName", table: "Ai_Result", type: "nvarchar(1000)", nullable: true, comment: "学生姓名"); migrationBuilder.AddColumn( name: "Weight", table: "Ai_Result", type: "float", nullable: true, comment: "体重"); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "Gender", table: "Ai_Result"); migrationBuilder.DropColumn( name: "Height", table: "Ai_Result"); migrationBuilder.DropColumn( name: "StudentName", table: "Ai_Result"); migrationBuilder.DropColumn( name: "Weight", table: "Ai_Result"); } } }