mh_jy_safe/APT.Data.Migrations/Migrations/20260313071635_hmr2026031301.cs

124 lines
3.8 KiB
C#
Raw Normal View History

2026-03-13 15:17:35 +08:00
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class hmr2026031301 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "JT_SYNC",
table: "T_SK_SCOREL",
type: "bit",
nullable: false,
defaultValue: false);
migrationBuilder.AddColumn<bool>(
name: "JT_SYNC",
table: "T_SK_SCOREE",
type: "bit",
nullable: false,
defaultValue: false);
migrationBuilder.AddColumn<bool>(
name: "JT_SYNC",
table: "T_SK_SCOREC",
type: "bit",
nullable: false,
defaultValue: false);
migrationBuilder.AddColumn<bool>(
name: "JT_SYNC",
table: "T_SK_RISK_TYPE",
type: "bit",
nullable: false,
defaultValue: false);
migrationBuilder.AddColumn<bool>(
name: "JT_SYNC",
table: "T_SK_CHECK_QUESTION",
type: "bit",
nullable: false,
defaultValue: false);
migrationBuilder.AddColumn<bool>(
name: "JT_SYNC",
table: "T_SK_CHECK_CONTENTS_BASIC",
type: "bit",
nullable: false,
defaultValue: false);
migrationBuilder.AddColumn<bool>(
name: "JT_SYNC",
table: "T_SK_CHECK_CONTENTS",
type: "bit",
nullable: false,
defaultValue: false);
migrationBuilder.AddColumn<bool>(
name: "JT_SYNC",
table: "T_LR_LAW_TYPE",
type: "bit",
nullable: false,
defaultValue: false);
migrationBuilder.AddColumn<bool>(
name: "JT_SYNC",
table: "T_LR_LAW",
type: "bit",
nullable: false,
defaultValue: false);
migrationBuilder.AddColumn<bool>(
name: "JT_SYNC",
table: "T_FM_USER_PRODUCTION_UNIT_SET",
type: "bit",
nullable: false,
defaultValue: false);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "JT_SYNC",
table: "T_SK_SCOREL");
migrationBuilder.DropColumn(
name: "JT_SYNC",
table: "T_SK_SCOREE");
migrationBuilder.DropColumn(
name: "JT_SYNC",
table: "T_SK_SCOREC");
migrationBuilder.DropColumn(
name: "JT_SYNC",
table: "T_SK_RISK_TYPE");
migrationBuilder.DropColumn(
name: "JT_SYNC",
table: "T_SK_CHECK_QUESTION");
migrationBuilder.DropColumn(
name: "JT_SYNC",
table: "T_SK_CHECK_CONTENTS_BASIC");
migrationBuilder.DropColumn(
name: "JT_SYNC",
table: "T_SK_CHECK_CONTENTS");
migrationBuilder.DropColumn(
name: "JT_SYNC",
table: "T_LR_LAW_TYPE");
migrationBuilder.DropColumn(
name: "JT_SYNC",
table: "T_LR_LAW");
migrationBuilder.DropColumn(
name: "JT_SYNC",
table: "T_FM_USER_PRODUCTION_UNIT_SET");
}
}
}