mh_jy_safe/APT.Data.Migrations/Migrations/20251121110002_wyw2025112102.cs
wyw 628276a9f2 1、培训计划 触发给安环安全员(之前负责人)
2、培训记录 获取 培训题目数量修改(之前有bug)
3、在线考试 添加 分数 是否合格 不合格的时候添加 今日 提醒 关注后续培训 同时 告诉培训组织者 培训未通过人员信息
4、培训效果评估 评估结果 默认可空,不然查看默认 “好”
2025-11-21 19:25:02 +08:00

32 lines
1008 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class wyw2025112102 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<int>(
name: "EVALUATION_RESULT",
table: "T_SE_TRAINING_EFFECT_EVALUATION_SURVEY_RESULTS",
type: "int",
nullable: true,
oldClrType: typeof(int),
oldType: "int");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<int>(
name: "EVALUATION_RESULT",
table: "T_SE_TRAINING_EFFECT_EVALUATION_SURVEY_RESULTS",
type: "int",
nullable: false,
defaultValue: 0,
oldClrType: typeof(int),
oldType: "int",
oldNullable: true);
}
}
}