You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1011 lines
34 KiB

2 weeks ago
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace TaskManager.EntityFramework.Migrations
{
/// <inheritdoc />
public partial class z202506270004 : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_SINV_DATA_LOGS",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_SINV_DATA",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_SCHEDULING_LOGS",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_SCHEDULING",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_PROCESS_LOGS",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<string>(
name: "Remark",
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT_LOGS",
type: "nvarchar(max)",
nullable: true,
oldClrType: typeof(string),
oldType: "NVarchar(500)",
oldMaxLength: 500,
oldNullable: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT_LOGS",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT_DT",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "WriteState",
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT",
type: "bit",
nullable: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<string>(
name: "Remark",
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT",
type: "nvarchar(max)",
nullable: true,
oldClrType: typeof(string),
oldType: "NVarchar(500)",
oldMaxLength: 500,
oldNullable: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT",
type: "bit",
nullable: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<string>(
name: "Remark",
table: "SUPPLIER_PRO_PROCESS",
type: "nvarchar(max)",
nullable: true,
oldClrType: typeof(string),
oldType: "NVarchar(500)",
oldMaxLength: 500,
oldNullable: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_PROCESS",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_OEE_TIME_DETAILS_LOGS",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_OEE_TIME_DETAILS",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_OEE_ACHIEVEMENT_RATE_LOGS",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_OEE_ACHIEVEMENT_RATE",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_MATERIAL_STOCK_LOGS",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_MATERIAL_STOCK",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_MATERIAL_DATA_LOGS",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_MATERIAL_DATA",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_FLAW_LOGS",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_FLAW",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_FIRST_PASSYIELD_LOGS",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_FIRST_PASSYIELD",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_ENVIRONMENT_LOGS",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_ENVIRONMENT",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_DATA_LOGS",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_DATA",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_CPS_LOGS",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_CPS",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_ATTACHMENT_DATA_LOGS",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_ATTACHMENT_DATA_DT",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "WriteState",
table: "SUPPLIER_PRO_ATTACHMENT_DATA",
type: "bit",
nullable: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<string>(
name: "Remark",
table: "SUPPLIER_PRO_ATTACHMENT_DATA",
type: "nvarchar(max)",
nullable: true,
oldClrType: typeof(string),
oldType: "NVarchar(500)",
oldMaxLength: 500,
oldNullable: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_ATTACHMENT_DATA",
type: "bit",
nullable: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_INFO_LOGS",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_INFO_DT",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_INFO",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_EMPLOYEE_LOGS",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_EMPLOYEE_DT",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_EMPLOYEE",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_CON_PO_LOGS",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_CON_PO",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_CON_MMRP_LOGS",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_CON_MMRP",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_CON_DATE_LOGS",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_CON_DATE",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_BOM_LOGS",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_BOM",
type: "bit",
nullable: false,
defaultValue: true,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: false);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_SINV_DATA_LOGS",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_SINV_DATA",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_SCHEDULING_LOGS",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_SCHEDULING",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_PROCESS_LOGS",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<string>(
name: "Remark",
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT_LOGS",
type: "NVarchar(500)",
maxLength: 500,
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(max)",
oldNullable: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT_LOGS",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT_DT",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "WriteState",
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit");
migrationBuilder.AlterColumn<string>(
name: "Remark",
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT",
type: "NVarchar(500)",
maxLength: 500,
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(max)",
oldNullable: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit");
migrationBuilder.AlterColumn<string>(
name: "Remark",
table: "SUPPLIER_PRO_PROCESS",
type: "NVarchar(500)",
maxLength: 500,
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(max)",
oldNullable: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_PROCESS",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_OEE_TIME_DETAILS_LOGS",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_OEE_TIME_DETAILS",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_OEE_ACHIEVEMENT_RATE_LOGS",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_OEE_ACHIEVEMENT_RATE",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_MATERIAL_STOCK_LOGS",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_MATERIAL_STOCK",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_MATERIAL_DATA_LOGS",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_MATERIAL_DATA",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_FLAW_LOGS",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_FLAW",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_FIRST_PASSYIELD_LOGS",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_FIRST_PASSYIELD",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_ENVIRONMENT_LOGS",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_ENVIRONMENT",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_DATA_LOGS",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_DATA",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_CPS_LOGS",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_CPS",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_ATTACHMENT_DATA_LOGS",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_ATTACHMENT_DATA_DT",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "WriteState",
table: "SUPPLIER_PRO_ATTACHMENT_DATA",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit");
migrationBuilder.AlterColumn<string>(
name: "Remark",
table: "SUPPLIER_PRO_ATTACHMENT_DATA",
type: "NVarchar(500)",
maxLength: 500,
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(max)",
oldNullable: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_PRO_ATTACHMENT_DATA",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit");
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_INFO_LOGS",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_INFO_DT",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_INFO",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_EMPLOYEE_LOGS",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_EMPLOYEE_DT",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_EMPLOYEE",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_CON_PO_LOGS",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_CON_PO",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_CON_MMRP_LOGS",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_CON_MMRP",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_CON_DATE_LOGS",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_CON_DATE",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_BOM_LOGS",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
migrationBuilder.AlterColumn<bool>(
name: "ReadState",
table: "SUPPLIER_BOM",
type: "bit",
nullable: false,
defaultValue: false,
oldClrType: typeof(bool),
oldType: "bit",
oldDefaultValue: true);
}
}
}