using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace VOL.Core.Migrations { public partial class _20260112v1 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "TeacherNo", table: "S_HomeWork", type: "nvarchar(200)", nullable: true, comment: "老师编号"); migrationBuilder.AddColumn( name: "TeacherNo", table: "Ai_ClassRoomRecord", type: "nvarchar(200)", nullable: true, comment: "老师编号"); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "TeacherNo", table: "S_HomeWork"); migrationBuilder.DropColumn( name: "TeacherNo", table: "Ai_ClassRoomRecord"); } } }