using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace VOL.Core.Migrations { public partial class init12101 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "StudentName", table: "N_SportsTestValue", type: "nvarchar(100)", nullable: true, comment: "学生名称"); migrationBuilder.AddColumn( name: "TeacherName", table: "N_SportsTestValue", type: "nvarchar(100)", nullable: true, comment: "老师名称"); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "StudentName", table: "N_SportsTestValue"); migrationBuilder.DropColumn( name: "TeacherName", table: "N_SportsTestValue"); } } }