35 lines
829 B
C#
35 lines
829 B
C#
![]() |
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace VOL.Core.Migrations
|
|||
|
{
|
|||
|
public partial class _20250420v1 : Migration
|
|||
|
{
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
|
|||
|
migrationBuilder.AddColumn<int>(
|
|||
|
name: "OrderNo",
|
|||
|
table: "S_Student",
|
|||
|
type: "int",
|
|||
|
nullable: true,
|
|||
|
comment: "排序");
|
|||
|
|
|||
|
migrationBuilder.AddColumn<int>(
|
|||
|
name: "SchoolType",
|
|||
|
table: "S_School",
|
|||
|
type: "int",
|
|||
|
nullable: false,
|
|||
|
defaultValue: 0,
|
|||
|
comment: "学校类型");
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
}
|
|||
|
}
|
|||
|
}
|