26 lines
691 B
C#
26 lines
691 B
C#
![]() |
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace VOL.Core.Migrations
|
|||
|
{
|
|||
|
public partial class init003 : Migration
|
|||
|
{
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.AddColumn<string>(
|
|||
|
name: "SchoolCode",
|
|||
|
table: "S_Teacher",
|
|||
|
type: "nvarchar(100)",
|
|||
|
nullable: true,
|
|||
|
comment: "学校编号");
|
|||
|
}
|
|||
|
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.DropColumn(
|
|||
|
name: "SchoolCode",
|
|||
|
table: "S_Teacher");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|