32 lines
928 B
C#
32 lines
928 B
C#
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|
|||
|
|
namespace APT.Data.Migrations.Migrations
|
|||
|
|
{
|
|||
|
|
public partial class wyw2025121902 : Migration
|
|||
|
|
{
|
|||
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
|
{
|
|||
|
|
migrationBuilder.AlterColumn<int>(
|
|||
|
|
name: "TRAINTYPE",
|
|||
|
|
table: "T_SE_NEW_USERS",
|
|||
|
|
type: "int",
|
|||
|
|
nullable: true,
|
|||
|
|
oldClrType: typeof(int),
|
|||
|
|
oldType: "int");
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
|
{
|
|||
|
|
migrationBuilder.AlterColumn<int>(
|
|||
|
|
name: "TRAINTYPE",
|
|||
|
|
table: "T_SE_NEW_USERS",
|
|||
|
|
type: "int",
|
|||
|
|
nullable: false,
|
|||
|
|
defaultValue: 0,
|
|||
|
|
oldClrType: typeof(int),
|
|||
|
|
oldType: "int",
|
|||
|
|
oldNullable: true);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|