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.
842 lines
28 KiB
842 lines
28 KiB
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace TaskManager.EntityFramework.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class z202506090004 : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "SupplierCode",
|
|
table: "SUPPLIER_CON_PO",
|
|
type: "VARCHAR(32)",
|
|
maxLength: 32,
|
|
nullable: true,
|
|
oldClrType: typeof(string),
|
|
oldType: "VARCHAR(32)",
|
|
oldMaxLength: 32);
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "SerialNumber",
|
|
table: "SUPPLIER_CON_PO",
|
|
type: "VARCHAR(10)",
|
|
maxLength: 10,
|
|
nullable: true,
|
|
oldClrType: typeof(string),
|
|
oldType: "VARCHAR(10)",
|
|
oldMaxLength: 10);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet",
|
|
table: "SUPPLIER_CON_PO",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: true,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5);
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "PurchaseOrder",
|
|
table: "SUPPLIER_CON_PO",
|
|
type: "VARCHAR(50)",
|
|
maxLength: 50,
|
|
nullable: true,
|
|
oldClrType: typeof(string),
|
|
oldType: "VARCHAR(50)",
|
|
oldMaxLength: 50);
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "FeedbackResults",
|
|
table: "SUPPLIER_CON_PO",
|
|
type: "VARCHAR(10)",
|
|
maxLength: 10,
|
|
nullable: true,
|
|
oldClrType: typeof(string),
|
|
oldType: "VARCHAR(10)",
|
|
oldMaxLength: 10);
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "SupplierCode",
|
|
table: "SUPPLIER_CON_MMRP",
|
|
type: "VARCHAR(32)",
|
|
maxLength: 32,
|
|
nullable: true,
|
|
oldClrType: typeof(string),
|
|
oldType: "VARCHAR(32)",
|
|
oldMaxLength: 32);
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "StartMonth",
|
|
table: "SUPPLIER_CON_MMRP",
|
|
type: "CHAR(7)",
|
|
maxLength: 7,
|
|
nullable: true,
|
|
oldClrType: typeof(string),
|
|
oldType: "CHAR(7)",
|
|
oldMaxLength: 7);
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "ReleaseEdition",
|
|
table: "SUPPLIER_CON_MMRP",
|
|
type: "VARCHAR(32)",
|
|
maxLength: 32,
|
|
nullable: true,
|
|
oldClrType: typeof(string),
|
|
oldType: "VARCHAR(32)",
|
|
oldMaxLength: 32);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet6",
|
|
table: "SUPPLIER_CON_MMRP",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: true,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet5",
|
|
table: "SUPPLIER_CON_MMRP",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: true,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet4",
|
|
table: "SUPPLIER_CON_MMRP",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: true,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet3",
|
|
table: "SUPPLIER_CON_MMRP",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: true,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet2",
|
|
table: "SUPPLIER_CON_MMRP",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: true,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet1",
|
|
table: "SUPPLIER_CON_MMRP",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: true,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5);
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "PlantId",
|
|
table: "SUPPLIER_CON_MMRP",
|
|
type: "VARCHAR(64)",
|
|
maxLength: 64,
|
|
nullable: true,
|
|
oldClrType: typeof(string),
|
|
oldType: "VARCHAR(64)",
|
|
oldMaxLength: 64);
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "MaterialCode",
|
|
table: "SUPPLIER_CON_MMRP",
|
|
type: "VARCHAR(50)",
|
|
maxLength: 50,
|
|
nullable: true,
|
|
oldClrType: typeof(string),
|
|
oldType: "VARCHAR(50)",
|
|
oldMaxLength: 50);
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "FeedbackResults",
|
|
table: "SUPPLIER_CON_MMRP",
|
|
type: "VARCHAR(10)",
|
|
maxLength: 10,
|
|
nullable: true,
|
|
oldClrType: typeof(string),
|
|
oldType: "VARCHAR(10)",
|
|
oldMaxLength: 10);
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "SupplierCode",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "VARCHAR(32)",
|
|
maxLength: 32,
|
|
nullable: true,
|
|
oldClrType: typeof(string),
|
|
oldType: "VARCHAR(32)",
|
|
oldMaxLength: 32);
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "ReleaseEdition",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "VARCHAR(32)",
|
|
maxLength: 32,
|
|
nullable: true,
|
|
oldClrType: typeof(string),
|
|
oldType: "VARCHAR(32)",
|
|
oldMaxLength: 32);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet9",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: true,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet8",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: true,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet7",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: true,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet6",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: true,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet5",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: true,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet4",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: true,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet3",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: true,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet2",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: true,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet12",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: true,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet11",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: true,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet10",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: true,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet1",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: true,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5);
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "PlantId",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "VARCHAR(64)",
|
|
maxLength: 64,
|
|
nullable: true,
|
|
oldClrType: typeof(string),
|
|
oldType: "VARCHAR(64)",
|
|
oldMaxLength: 64);
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "MaterialCode",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "VARCHAR(50)",
|
|
maxLength: 50,
|
|
nullable: true,
|
|
oldClrType: typeof(string),
|
|
oldType: "VARCHAR(50)",
|
|
oldMaxLength: 50);
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "FeedbackResults",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "VARCHAR(10)",
|
|
maxLength: 10,
|
|
nullable: true,
|
|
oldClrType: typeof(string),
|
|
oldType: "VARCHAR(10)",
|
|
oldMaxLength: 10);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "SupplierCode",
|
|
table: "SUPPLIER_CON_PO",
|
|
type: "VARCHAR(32)",
|
|
maxLength: 32,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
oldClrType: typeof(string),
|
|
oldType: "VARCHAR(32)",
|
|
oldMaxLength: 32,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "SerialNumber",
|
|
table: "SUPPLIER_CON_PO",
|
|
type: "VARCHAR(10)",
|
|
maxLength: 10,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
oldClrType: typeof(string),
|
|
oldType: "VARCHAR(10)",
|
|
oldMaxLength: 10,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet",
|
|
table: "SUPPLIER_CON_PO",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: false,
|
|
defaultValue: 0m,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "PurchaseOrder",
|
|
table: "SUPPLIER_CON_PO",
|
|
type: "VARCHAR(50)",
|
|
maxLength: 50,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
oldClrType: typeof(string),
|
|
oldType: "VARCHAR(50)",
|
|
oldMaxLength: 50,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "FeedbackResults",
|
|
table: "SUPPLIER_CON_PO",
|
|
type: "VARCHAR(10)",
|
|
maxLength: 10,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
oldClrType: typeof(string),
|
|
oldType: "VARCHAR(10)",
|
|
oldMaxLength: 10,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "SupplierCode",
|
|
table: "SUPPLIER_CON_MMRP",
|
|
type: "VARCHAR(32)",
|
|
maxLength: 32,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
oldClrType: typeof(string),
|
|
oldType: "VARCHAR(32)",
|
|
oldMaxLength: 32,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "StartMonth",
|
|
table: "SUPPLIER_CON_MMRP",
|
|
type: "CHAR(7)",
|
|
maxLength: 7,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
oldClrType: typeof(string),
|
|
oldType: "CHAR(7)",
|
|
oldMaxLength: 7,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "ReleaseEdition",
|
|
table: "SUPPLIER_CON_MMRP",
|
|
type: "VARCHAR(32)",
|
|
maxLength: 32,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
oldClrType: typeof(string),
|
|
oldType: "VARCHAR(32)",
|
|
oldMaxLength: 32,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet6",
|
|
table: "SUPPLIER_CON_MMRP",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: false,
|
|
defaultValue: 0m,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet5",
|
|
table: "SUPPLIER_CON_MMRP",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: false,
|
|
defaultValue: 0m,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet4",
|
|
table: "SUPPLIER_CON_MMRP",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: false,
|
|
defaultValue: 0m,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet3",
|
|
table: "SUPPLIER_CON_MMRP",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: false,
|
|
defaultValue: 0m,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet2",
|
|
table: "SUPPLIER_CON_MMRP",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: false,
|
|
defaultValue: 0m,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet1",
|
|
table: "SUPPLIER_CON_MMRP",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: false,
|
|
defaultValue: 0m,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "PlantId",
|
|
table: "SUPPLIER_CON_MMRP",
|
|
type: "VARCHAR(64)",
|
|
maxLength: 64,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
oldClrType: typeof(string),
|
|
oldType: "VARCHAR(64)",
|
|
oldMaxLength: 64,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "MaterialCode",
|
|
table: "SUPPLIER_CON_MMRP",
|
|
type: "VARCHAR(50)",
|
|
maxLength: 50,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
oldClrType: typeof(string),
|
|
oldType: "VARCHAR(50)",
|
|
oldMaxLength: 50,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "FeedbackResults",
|
|
table: "SUPPLIER_CON_MMRP",
|
|
type: "VARCHAR(10)",
|
|
maxLength: 10,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
oldClrType: typeof(string),
|
|
oldType: "VARCHAR(10)",
|
|
oldMaxLength: 10,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "SupplierCode",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "VARCHAR(32)",
|
|
maxLength: 32,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
oldClrType: typeof(string),
|
|
oldType: "VARCHAR(32)",
|
|
oldMaxLength: 32,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "ReleaseEdition",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "VARCHAR(32)",
|
|
maxLength: 32,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
oldClrType: typeof(string),
|
|
oldType: "VARCHAR(32)",
|
|
oldMaxLength: 32,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet9",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: false,
|
|
defaultValue: 0m,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet8",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: false,
|
|
defaultValue: 0m,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet7",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: false,
|
|
defaultValue: 0m,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet6",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: false,
|
|
defaultValue: 0m,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet5",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: false,
|
|
defaultValue: 0m,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet4",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: false,
|
|
defaultValue: 0m,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet3",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: false,
|
|
defaultValue: 0m,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet2",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: false,
|
|
defaultValue: 0m,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet12",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: false,
|
|
defaultValue: 0m,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet11",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: false,
|
|
defaultValue: 0m,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet10",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: false,
|
|
defaultValue: 0m,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<decimal>(
|
|
name: "QuantityMeet1",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "DECIMAL(16,5)",
|
|
precision: 16,
|
|
scale: 5,
|
|
nullable: false,
|
|
defaultValue: 0m,
|
|
oldClrType: typeof(decimal),
|
|
oldType: "DECIMAL(16,5)",
|
|
oldPrecision: 16,
|
|
oldScale: 5,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "PlantId",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "VARCHAR(64)",
|
|
maxLength: 64,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
oldClrType: typeof(string),
|
|
oldType: "VARCHAR(64)",
|
|
oldMaxLength: 64,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "MaterialCode",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "VARCHAR(50)",
|
|
maxLength: 50,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
oldClrType: typeof(string),
|
|
oldType: "VARCHAR(50)",
|
|
oldMaxLength: 50,
|
|
oldNullable: true);
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "FeedbackResults",
|
|
table: "SUPPLIER_CON_DATE",
|
|
type: "VARCHAR(10)",
|
|
maxLength: 10,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
oldClrType: typeof(string),
|
|
oldType: "VARCHAR(10)",
|
|
oldMaxLength: 10,
|
|
oldNullable: true);
|
|
}
|
|
}
|
|
}
|
|
|