27 changed files with 44710 additions and 285 deletions
File diff suppressed because it is too large
@ -0,0 +1,385 @@ |
|||||
|
using System; |
||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
#nullable disable |
||||
|
|
||||
|
namespace TaskManager.EntityFramework.Migrations |
||||
|
{ |
||||
|
/// <inheritdoc />
|
||||
|
public partial class z202506090001 : Migration |
||||
|
{ |
||||
|
/// <inheritdoc />
|
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "UpdateUser", |
||||
|
table: "TaskSub", |
||||
|
type: "nvarchar(30)", |
||||
|
maxLength: 30, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "TaskName", |
||||
|
table: "TaskSub", |
||||
|
type: "nvarchar(30)", |
||||
|
maxLength: 30, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "TableName", |
||||
|
table: "TaskSub", |
||||
|
type: "nvarchar(30)", |
||||
|
maxLength: 30, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Subscriber", |
||||
|
table: "TaskSub", |
||||
|
type: "nvarchar(30)", |
||||
|
maxLength: 30, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Site", |
||||
|
table: "TaskSub", |
||||
|
type: "nvarchar(30)", |
||||
|
maxLength: 30, |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "FailedInfo", |
||||
|
table: "TaskSub", |
||||
|
type: "nvarchar(30)", |
||||
|
maxLength: 30, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Domain", |
||||
|
table: "TaskSub", |
||||
|
type: "nvarchar(30)", |
||||
|
maxLength: 30, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "CreateUser", |
||||
|
table: "TaskSub", |
||||
|
type: "nvarchar(30)", |
||||
|
maxLength: 30, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Type", |
||||
|
table: "TaskLogs", |
||||
|
type: "nvarchar(20)", |
||||
|
maxLength: 20, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "TaskName", |
||||
|
table: "TaskLogs", |
||||
|
type: "nvarchar(20)", |
||||
|
maxLength: 20, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Info", |
||||
|
table: "TaskLogs", |
||||
|
type: "nvarchar(20)", |
||||
|
maxLength: 20, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "TaskLogs", |
||||
|
type: "datetime2", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "datetime2"); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "Path", |
||||
|
table: "TaskLogs", |
||||
|
type: "nvarchar(20)", |
||||
|
maxLength: 20, |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "Version", |
||||
|
table: "TaskLogs", |
||||
|
type: "nvarchar(20)", |
||||
|
maxLength: 20, |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<decimal>( |
||||
|
name: "QuantityDelivery", |
||||
|
table: "SUPPLIER_PO", |
||||
|
type: "decimal(18,2)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(int), |
||||
|
oldType: "int"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Note", |
||||
|
table: "SUPPLIER_PO", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(50)", |
||||
|
oldMaxLength: 50, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<decimal>( |
||||
|
name: "QuantityDemand2", |
||||
|
table: "SUPPLIER_MRP_DATE", |
||||
|
type: "decimal(18,2)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(int), |
||||
|
oldType: "int"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<decimal>( |
||||
|
name: "QuantityDemand1", |
||||
|
table: "SUPPLIER_MRP_DATE", |
||||
|
type: "decimal(18,2)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(int), |
||||
|
oldType: "int"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "IsDelete", |
||||
|
table: "SUPPLIER_INV_DATA", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(int), |
||||
|
oldType: "int"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<decimal>( |
||||
|
name: "QuantityDelivery", |
||||
|
table: "SUPPLIER_DEL_STATE", |
||||
|
type: "decimal(18,2)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(int), |
||||
|
oldType: "int"); |
||||
|
} |
||||
|
|
||||
|
/// <inheritdoc />
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "Path", |
||||
|
table: "TaskLogs"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "Version", |
||||
|
table: "TaskLogs"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "UpdateUser", |
||||
|
table: "TaskSub", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(30)", |
||||
|
oldMaxLength: 30, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "TaskName", |
||||
|
table: "TaskSub", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(30)", |
||||
|
oldMaxLength: 30, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "TableName", |
||||
|
table: "TaskSub", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(30)", |
||||
|
oldMaxLength: 30, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Subscriber", |
||||
|
table: "TaskSub", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(30)", |
||||
|
oldMaxLength: 30, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Site", |
||||
|
table: "TaskSub", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(30)", |
||||
|
oldMaxLength: 30); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "FailedInfo", |
||||
|
table: "TaskSub", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(30)", |
||||
|
oldMaxLength: 30, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Domain", |
||||
|
table: "TaskSub", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(30)", |
||||
|
oldMaxLength: 30, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "CreateUser", |
||||
|
table: "TaskSub", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(30)", |
||||
|
oldMaxLength: 30, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Type", |
||||
|
table: "TaskLogs", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(20)", |
||||
|
oldMaxLength: 20, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "TaskName", |
||||
|
table: "TaskLogs", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(20)", |
||||
|
oldMaxLength: 20, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Info", |
||||
|
table: "TaskLogs", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(20)", |
||||
|
oldMaxLength: 20, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "TaskLogs", |
||||
|
type: "datetime2", |
||||
|
nullable: false, |
||||
|
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "datetime2", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<int>( |
||||
|
name: "QuantityDelivery", |
||||
|
table: "SUPPLIER_PO", |
||||
|
type: "int", |
||||
|
nullable: false, |
||||
|
defaultValue: 0, |
||||
|
oldClrType: typeof(decimal), |
||||
|
oldType: "decimal(18,2)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Note", |
||||
|
table: "SUPPLIER_PO", |
||||
|
type: "nvarchar(50)", |
||||
|
maxLength: 50, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<int>( |
||||
|
name: "QuantityDemand2", |
||||
|
table: "SUPPLIER_MRP_DATE", |
||||
|
type: "int", |
||||
|
nullable: false, |
||||
|
defaultValue: 0, |
||||
|
oldClrType: typeof(decimal), |
||||
|
oldType: "decimal(18,2)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<int>( |
||||
|
name: "QuantityDemand1", |
||||
|
table: "SUPPLIER_MRP_DATE", |
||||
|
type: "int", |
||||
|
nullable: false, |
||||
|
defaultValue: 0, |
||||
|
oldClrType: typeof(decimal), |
||||
|
oldType: "decimal(18,2)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<int>( |
||||
|
name: "IsDelete", |
||||
|
table: "SUPPLIER_INV_DATA", |
||||
|
type: "int", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<int>( |
||||
|
name: "QuantityDelivery", |
||||
|
table: "SUPPLIER_DEL_STATE", |
||||
|
type: "int", |
||||
|
nullable: false, |
||||
|
defaultValue: 0, |
||||
|
oldClrType: typeof(decimal), |
||||
|
oldType: "decimal(18,2)", |
||||
|
oldNullable: true); |
||||
|
} |
||||
|
} |
||||
|
} |
File diff suppressed because it is too large
@ -0,0 +1,36 @@ |
|||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
#nullable disable |
||||
|
|
||||
|
namespace TaskManager.EntityFramework.Migrations |
||||
|
{ |
||||
|
/// <inheritdoc />
|
||||
|
public partial class z202506090002 : Migration |
||||
|
{ |
||||
|
/// <inheritdoc />
|
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.AlterColumn<decimal>( |
||||
|
name: "QuantityDemand12", |
||||
|
table: "SUPPLIER_MRP_MONTH", |
||||
|
type: "decimal(18,2)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(int), |
||||
|
oldType: "int"); |
||||
|
} |
||||
|
|
||||
|
/// <inheritdoc />
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.AlterColumn<int>( |
||||
|
name: "QuantityDemand12", |
||||
|
table: "SUPPLIER_MRP_MONTH", |
||||
|
type: "int", |
||||
|
nullable: false, |
||||
|
defaultValue: 0, |
||||
|
oldClrType: typeof(decimal), |
||||
|
oldType: "decimal(18,2)", |
||||
|
oldNullable: true); |
||||
|
} |
||||
|
} |
||||
|
} |
File diff suppressed because it is too large
@ -0,0 +1,22 @@ |
|||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
#nullable disable |
||||
|
|
||||
|
namespace TaskManager.EntityFramework.Migrations |
||||
|
{ |
||||
|
/// <inheritdoc />
|
||||
|
public partial class z202506090003 : Migration |
||||
|
{ |
||||
|
/// <inheritdoc />
|
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
|
||||
|
} |
||||
|
|
||||
|
/// <inheritdoc />
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
|
||||
|
} |
||||
|
} |
||||
|
} |
File diff suppressed because it is too large
@ -0,0 +1,842 @@ |
|||||
|
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); |
||||
|
} |
||||
|
} |
||||
|
} |
File diff suppressed because it is too large
@ -0,0 +1,566 @@ |
|||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
#nullable disable |
||||
|
|
||||
|
namespace TaskManager.EntityFramework.Migrations |
||||
|
{ |
||||
|
/// <inheritdoc />
|
||||
|
public partial class z202506090005 : Migration |
||||
|
{ |
||||
|
/// <inheritdoc />
|
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "VentureType", |
||||
|
table: "SUPPLIER_CON_PO", |
||||
|
type: "NVARCHAR(50)", |
||||
|
maxLength: 50, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "VARCHAR(50)", |
||||
|
oldMaxLength: 50, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "VentureSpecific", |
||||
|
table: "SUPPLIER_CON_PO", |
||||
|
type: "NVARCHAR(255)", |
||||
|
maxLength: 255, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "VARCHAR(255)", |
||||
|
oldMaxLength: 255, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "SupplierCode", |
||||
|
table: "SUPPLIER_CON_PO", |
||||
|
type: "NVARCHAR(32)", |
||||
|
maxLength: 32, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "VARCHAR(32)", |
||||
|
oldMaxLength: 32, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "SerialNumber", |
||||
|
table: "SUPPLIER_CON_PO", |
||||
|
type: "NVARCHAR(10)", |
||||
|
maxLength: 10, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "VARCHAR(10)", |
||||
|
oldMaxLength: 10, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "PurchaseOrder", |
||||
|
table: "SUPPLIER_CON_PO", |
||||
|
type: "NVARCHAR(50)", |
||||
|
maxLength: 50, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "VARCHAR(50)", |
||||
|
oldMaxLength: 50, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Measures", |
||||
|
table: "SUPPLIER_CON_PO", |
||||
|
type: "NVARCHAR(255)", |
||||
|
maxLength: 255, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "VARCHAR(255)", |
||||
|
oldMaxLength: 255, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "FeedbackResults", |
||||
|
table: "SUPPLIER_CON_PO", |
||||
|
type: "NVARCHAR(10)", |
||||
|
maxLength: 10, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "VARCHAR(10)", |
||||
|
oldMaxLength: 10, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "VentureType", |
||||
|
table: "SUPPLIER_CON_MMRP", |
||||
|
type: "NVARCHAR(50)", |
||||
|
maxLength: 50, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "VARCHAR(50)", |
||||
|
oldMaxLength: 50, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "VentureSpecific", |
||||
|
table: "SUPPLIER_CON_MMRP", |
||||
|
type: "NVARCHAR(255)", |
||||
|
maxLength: 255, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "VARCHAR(255)", |
||||
|
oldMaxLength: 255, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "SupplierCode", |
||||
|
table: "SUPPLIER_CON_MMRP", |
||||
|
type: "NVARCHAR(32)", |
||||
|
maxLength: 32, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "VARCHAR(32)", |
||||
|
oldMaxLength: 32, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "StartMonth", |
||||
|
table: "SUPPLIER_CON_MMRP", |
||||
|
type: "NVARCHAR(7)", |
||||
|
maxLength: 7, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "CHAR(7)", |
||||
|
oldMaxLength: 7, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "ReleaseEdition", |
||||
|
table: "SUPPLIER_CON_MMRP", |
||||
|
type: "NVARCHAR(32)", |
||||
|
maxLength: 32, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "VARCHAR(32)", |
||||
|
oldMaxLength: 32, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "PlantId", |
||||
|
table: "SUPPLIER_CON_MMRP", |
||||
|
type: "NVARCHAR(64)", |
||||
|
maxLength: 64, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "VARCHAR(64)", |
||||
|
oldMaxLength: 64, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Measures", |
||||
|
table: "SUPPLIER_CON_MMRP", |
||||
|
type: "NVARCHAR(255)", |
||||
|
maxLength: 255, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "VARCHAR(255)", |
||||
|
oldMaxLength: 255, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "MaterialCode", |
||||
|
table: "SUPPLIER_CON_MMRP", |
||||
|
type: "NVARCHAR(50)", |
||||
|
maxLength: 50, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "VARCHAR(50)", |
||||
|
oldMaxLength: 50, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "FeedbackResults", |
||||
|
table: "SUPPLIER_CON_MMRP", |
||||
|
type: "NVARCHAR(10)", |
||||
|
maxLength: 10, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "VARCHAR(10)", |
||||
|
oldMaxLength: 10, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "VentureType", |
||||
|
table: "SUPPLIER_CON_DATE", |
||||
|
type: "NVARCHAR(50)", |
||||
|
maxLength: 50, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "VARCHAR(50)", |
||||
|
oldMaxLength: 50, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "VentureSpecific", |
||||
|
table: "SUPPLIER_CON_DATE", |
||||
|
type: "NVARCHAR(255)", |
||||
|
maxLength: 255, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "VARCHAR(255)", |
||||
|
oldMaxLength: 255, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "SupplierCode", |
||||
|
table: "SUPPLIER_CON_DATE", |
||||
|
type: "NVARCHAR(32)", |
||||
|
maxLength: 32, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "VARCHAR(32)", |
||||
|
oldMaxLength: 32, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "StartDate", |
||||
|
table: "SUPPLIER_CON_DATE", |
||||
|
type: "NVARCHAR(10)", |
||||
|
maxLength: 10, |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "CHAR(10)", |
||||
|
oldMaxLength: 10); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "ReleaseEdition", |
||||
|
table: "SUPPLIER_CON_DATE", |
||||
|
type: "NVARCHAR(32)", |
||||
|
maxLength: 32, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "VARCHAR(32)", |
||||
|
oldMaxLength: 32, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "PlantId", |
||||
|
table: "SUPPLIER_CON_DATE", |
||||
|
type: "NVARCHAR(64)", |
||||
|
maxLength: 64, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "VARCHAR(64)", |
||||
|
oldMaxLength: 64, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Measures", |
||||
|
table: "SUPPLIER_CON_DATE", |
||||
|
type: "NVARCHAR(255)", |
||||
|
maxLength: 255, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "VARCHAR(255)", |
||||
|
oldMaxLength: 255, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "MaterialCode", |
||||
|
table: "SUPPLIER_CON_DATE", |
||||
|
type: "NVARCHAR(50)", |
||||
|
maxLength: 50, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "VARCHAR(50)", |
||||
|
oldMaxLength: 50, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "FeedbackResults", |
||||
|
table: "SUPPLIER_CON_DATE", |
||||
|
type: "NVARCHAR(10)", |
||||
|
maxLength: 10, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "VARCHAR(10)", |
||||
|
oldMaxLength: 10, |
||||
|
oldNullable: true); |
||||
|
} |
||||
|
|
||||
|
/// <inheritdoc />
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "VentureType", |
||||
|
table: "SUPPLIER_CON_PO", |
||||
|
type: "VARCHAR(50)", |
||||
|
maxLength: 50, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "NVARCHAR(50)", |
||||
|
oldMaxLength: 50, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "VentureSpecific", |
||||
|
table: "SUPPLIER_CON_PO", |
||||
|
type: "VARCHAR(255)", |
||||
|
maxLength: 255, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "NVARCHAR(255)", |
||||
|
oldMaxLength: 255, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "SupplierCode", |
||||
|
table: "SUPPLIER_CON_PO", |
||||
|
type: "VARCHAR(32)", |
||||
|
maxLength: 32, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "NVARCHAR(32)", |
||||
|
oldMaxLength: 32, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "SerialNumber", |
||||
|
table: "SUPPLIER_CON_PO", |
||||
|
type: "VARCHAR(10)", |
||||
|
maxLength: 10, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "NVARCHAR(10)", |
||||
|
oldMaxLength: 10, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "PurchaseOrder", |
||||
|
table: "SUPPLIER_CON_PO", |
||||
|
type: "VARCHAR(50)", |
||||
|
maxLength: 50, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "NVARCHAR(50)", |
||||
|
oldMaxLength: 50, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Measures", |
||||
|
table: "SUPPLIER_CON_PO", |
||||
|
type: "VARCHAR(255)", |
||||
|
maxLength: 255, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "NVARCHAR(255)", |
||||
|
oldMaxLength: 255, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "FeedbackResults", |
||||
|
table: "SUPPLIER_CON_PO", |
||||
|
type: "VARCHAR(10)", |
||||
|
maxLength: 10, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "NVARCHAR(10)", |
||||
|
oldMaxLength: 10, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "VentureType", |
||||
|
table: "SUPPLIER_CON_MMRP", |
||||
|
type: "VARCHAR(50)", |
||||
|
maxLength: 50, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "NVARCHAR(50)", |
||||
|
oldMaxLength: 50, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "VentureSpecific", |
||||
|
table: "SUPPLIER_CON_MMRP", |
||||
|
type: "VARCHAR(255)", |
||||
|
maxLength: 255, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "NVARCHAR(255)", |
||||
|
oldMaxLength: 255, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "SupplierCode", |
||||
|
table: "SUPPLIER_CON_MMRP", |
||||
|
type: "VARCHAR(32)", |
||||
|
maxLength: 32, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "NVARCHAR(32)", |
||||
|
oldMaxLength: 32, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "StartMonth", |
||||
|
table: "SUPPLIER_CON_MMRP", |
||||
|
type: "CHAR(7)", |
||||
|
maxLength: 7, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "NVARCHAR(7)", |
||||
|
oldMaxLength: 7, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "ReleaseEdition", |
||||
|
table: "SUPPLIER_CON_MMRP", |
||||
|
type: "VARCHAR(32)", |
||||
|
maxLength: 32, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "NVARCHAR(32)", |
||||
|
oldMaxLength: 32, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "PlantId", |
||||
|
table: "SUPPLIER_CON_MMRP", |
||||
|
type: "VARCHAR(64)", |
||||
|
maxLength: 64, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "NVARCHAR(64)", |
||||
|
oldMaxLength: 64, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Measures", |
||||
|
table: "SUPPLIER_CON_MMRP", |
||||
|
type: "VARCHAR(255)", |
||||
|
maxLength: 255, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "NVARCHAR(255)", |
||||
|
oldMaxLength: 255, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "MaterialCode", |
||||
|
table: "SUPPLIER_CON_MMRP", |
||||
|
type: "VARCHAR(50)", |
||||
|
maxLength: 50, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "NVARCHAR(50)", |
||||
|
oldMaxLength: 50, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "FeedbackResults", |
||||
|
table: "SUPPLIER_CON_MMRP", |
||||
|
type: "VARCHAR(10)", |
||||
|
maxLength: 10, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "NVARCHAR(10)", |
||||
|
oldMaxLength: 10, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "VentureType", |
||||
|
table: "SUPPLIER_CON_DATE", |
||||
|
type: "VARCHAR(50)", |
||||
|
maxLength: 50, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "NVARCHAR(50)", |
||||
|
oldMaxLength: 50, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "VentureSpecific", |
||||
|
table: "SUPPLIER_CON_DATE", |
||||
|
type: "VARCHAR(255)", |
||||
|
maxLength: 255, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "NVARCHAR(255)", |
||||
|
oldMaxLength: 255, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "SupplierCode", |
||||
|
table: "SUPPLIER_CON_DATE", |
||||
|
type: "VARCHAR(32)", |
||||
|
maxLength: 32, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "NVARCHAR(32)", |
||||
|
oldMaxLength: 32, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "StartDate", |
||||
|
table: "SUPPLIER_CON_DATE", |
||||
|
type: "CHAR(10)", |
||||
|
maxLength: 10, |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "NVARCHAR(10)", |
||||
|
oldMaxLength: 10); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "ReleaseEdition", |
||||
|
table: "SUPPLIER_CON_DATE", |
||||
|
type: "VARCHAR(32)", |
||||
|
maxLength: 32, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "NVARCHAR(32)", |
||||
|
oldMaxLength: 32, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "PlantId", |
||||
|
table: "SUPPLIER_CON_DATE", |
||||
|
type: "VARCHAR(64)", |
||||
|
maxLength: 64, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "NVARCHAR(64)", |
||||
|
oldMaxLength: 64, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Measures", |
||||
|
table: "SUPPLIER_CON_DATE", |
||||
|
type: "VARCHAR(255)", |
||||
|
maxLength: 255, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "NVARCHAR(255)", |
||||
|
oldMaxLength: 255, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "MaterialCode", |
||||
|
table: "SUPPLIER_CON_DATE", |
||||
|
type: "VARCHAR(50)", |
||||
|
maxLength: 50, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "NVARCHAR(50)", |
||||
|
oldMaxLength: 50, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "FeedbackResults", |
||||
|
table: "SUPPLIER_CON_DATE", |
||||
|
type: "VARCHAR(10)", |
||||
|
maxLength: 10, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "NVARCHAR(10)", |
||||
|
oldMaxLength: 10, |
||||
|
oldNullable: true); |
||||
|
} |
||||
|
} |
||||
|
} |
File diff suppressed because it is too large
@ -0,0 +1,37 @@ |
|||||
|
using System; |
||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
#nullable disable |
||||
|
|
||||
|
namespace TaskManager.EntityFramework.Migrations |
||||
|
{ |
||||
|
/// <inheritdoc />
|
||||
|
public partial class z202506090006 : Migration |
||||
|
{ |
||||
|
/// <inheritdoc />
|
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "StartDate", |
||||
|
table: "SUPPLIER_MRP_DATE", |
||||
|
type: "datetime2", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "datetime2"); |
||||
|
} |
||||
|
|
||||
|
/// <inheritdoc />
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "StartDate", |
||||
|
table: "SUPPLIER_MRP_DATE", |
||||
|
type: "datetime2", |
||||
|
nullable: false, |
||||
|
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "datetime2", |
||||
|
oldNullable: true); |
||||
|
} |
||||
|
} |
||||
|
} |
File diff suppressed because it is too large
@ -0,0 +1,22 @@ |
|||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
#nullable disable |
||||
|
|
||||
|
namespace TaskManager.EntityFramework.Migrations |
||||
|
{ |
||||
|
/// <inheritdoc />
|
||||
|
public partial class z202506090007 : Migration |
||||
|
{ |
||||
|
/// <inheritdoc />
|
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
|
||||
|
} |
||||
|
|
||||
|
/// <inheritdoc />
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
|
||||
|
} |
||||
|
} |
||||
|
} |
File diff suppressed because it is too large
@ -0,0 +1,579 @@ |
|||||
|
using System; |
||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
#nullable disable |
||||
|
|
||||
|
namespace TaskManager.EntityFramework.Migrations |
||||
|
{ |
||||
|
/// <inheritdoc />
|
||||
|
public partial class z202506090008 : Migration |
||||
|
{ |
||||
|
/// <inheritdoc />
|
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "RequestDate", |
||||
|
table: "SUPPLIER_SINV_DATA", |
||||
|
type: "nvarchar(30)", |
||||
|
maxLength: 30, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Id", |
||||
|
table: "SUPPLIER_SINV_DATA", |
||||
|
type: "nvarchar(50)", |
||||
|
maxLength: 50, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "RequestDate", |
||||
|
table: "SUPPLIER_SA_WEEK", |
||||
|
type: "nvarchar(30)", |
||||
|
maxLength: 30, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Id", |
||||
|
table: "SUPPLIER_SA_WEEK", |
||||
|
type: "nvarchar(50)", |
||||
|
maxLength: 50, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "RequestDate", |
||||
|
table: "SUPPLIER_RETURN", |
||||
|
type: "nvarchar(30)", |
||||
|
maxLength: 30, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Id", |
||||
|
table: "SUPPLIER_RETURN", |
||||
|
type: "nvarchar(50)", |
||||
|
maxLength: 50, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "RequestDate", |
||||
|
table: "SUPPLIER_PRO_TSCHEDUL", |
||||
|
type: "nvarchar(30)", |
||||
|
maxLength: 30, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Id", |
||||
|
table: "SUPPLIER_PRO_TSCHEDUL", |
||||
|
type: "nvarchar(50)", |
||||
|
maxLength: 50, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "RequestDate", |
||||
|
table: "SUPPLIER_PRO_PLANING", |
||||
|
type: "nvarchar(30)", |
||||
|
maxLength: 30, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "RequestDate", |
||||
|
table: "SUPPLIER_PRO_HSCHEDUL", |
||||
|
type: "nvarchar(30)", |
||||
|
maxLength: 30, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Id", |
||||
|
table: "SUPPLIER_PRO_HSCHEDUL", |
||||
|
type: "nvarchar(50)", |
||||
|
maxLength: 50, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "RequestDate", |
||||
|
table: "SUPPLIER_PRO_CSCHEDUL", |
||||
|
type: "nvarchar(30)", |
||||
|
maxLength: 30, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Id", |
||||
|
table: "SUPPLIER_PRO_CSCHEDUL", |
||||
|
type: "nvarchar(50)", |
||||
|
maxLength: 50, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "RequestDate", |
||||
|
table: "SUPPLIER_PO", |
||||
|
type: "nvarchar(30)", |
||||
|
maxLength: 30, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Id", |
||||
|
table: "SUPPLIER_PO", |
||||
|
type: "nvarchar(50)", |
||||
|
maxLength: 50, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "RequestDate", |
||||
|
table: "SUPPLIER_MRP_WARNING", |
||||
|
type: "nvarchar(30)", |
||||
|
maxLength: 30, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Id", |
||||
|
table: "SUPPLIER_MRP_WARNING", |
||||
|
type: "nvarchar(50)", |
||||
|
maxLength: 50, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "RequestDate", |
||||
|
table: "SUPPLIER_MRP_STATE", |
||||
|
type: "nvarchar(30)", |
||||
|
maxLength: 30, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Id", |
||||
|
table: "SUPPLIER_MRP_STATE", |
||||
|
type: "nvarchar(50)", |
||||
|
maxLength: 50, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "RequestDate", |
||||
|
table: "SUPPLIER_MRP_MONTH", |
||||
|
type: "nvarchar(30)", |
||||
|
maxLength: 30, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Id", |
||||
|
table: "SUPPLIER_MRP_MONTH", |
||||
|
type: "nvarchar(50)", |
||||
|
maxLength: 50, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "RequestDate", |
||||
|
table: "SUPPLIER_MRP_DATE", |
||||
|
type: "nvarchar(30)", |
||||
|
maxLength: 30, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Id", |
||||
|
table: "SUPPLIER_MRP_DATE", |
||||
|
type: "nvarchar(50)", |
||||
|
maxLength: 50, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "RequestDate", |
||||
|
table: "SUPPLIER_INV_DATA", |
||||
|
type: "nvarchar(30)", |
||||
|
maxLength: 30, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Id", |
||||
|
table: "SUPPLIER_INV_DATA", |
||||
|
type: "nvarchar(50)", |
||||
|
maxLength: 50, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "RequestDate", |
||||
|
table: "SUPPLIER_DEL_STATE", |
||||
|
type: "nvarchar(30)", |
||||
|
maxLength: 30, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Id", |
||||
|
table: "SUPPLIER_DEL_STATE", |
||||
|
type: "nvarchar(50)", |
||||
|
maxLength: 50, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "StartDate", |
||||
|
table: "SUPPLIER_CON_DATE", |
||||
|
type: "datetime2", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "NVARCHAR(10)", |
||||
|
oldMaxLength: 10); |
||||
|
} |
||||
|
|
||||
|
/// <inheritdoc />
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "RequestDate", |
||||
|
table: "SUPPLIER_SINV_DATA", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(30)", |
||||
|
oldMaxLength: 30, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Id", |
||||
|
table: "SUPPLIER_SINV_DATA", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(50)", |
||||
|
oldMaxLength: 50, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "RequestDate", |
||||
|
table: "SUPPLIER_SA_WEEK", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(30)", |
||||
|
oldMaxLength: 30, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Id", |
||||
|
table: "SUPPLIER_SA_WEEK", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(50)", |
||||
|
oldMaxLength: 50, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "RequestDate", |
||||
|
table: "SUPPLIER_RETURN", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(30)", |
||||
|
oldMaxLength: 30, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Id", |
||||
|
table: "SUPPLIER_RETURN", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(50)", |
||||
|
oldMaxLength: 50, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "RequestDate", |
||||
|
table: "SUPPLIER_PRO_TSCHEDUL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(30)", |
||||
|
oldMaxLength: 30, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Id", |
||||
|
table: "SUPPLIER_PRO_TSCHEDUL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(50)", |
||||
|
oldMaxLength: 50, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "RequestDate", |
||||
|
table: "SUPPLIER_PRO_PLANING", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(30)", |
||||
|
oldMaxLength: 30, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "RequestDate", |
||||
|
table: "SUPPLIER_PRO_HSCHEDUL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(30)", |
||||
|
oldMaxLength: 30, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Id", |
||||
|
table: "SUPPLIER_PRO_HSCHEDUL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(50)", |
||||
|
oldMaxLength: 50, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "RequestDate", |
||||
|
table: "SUPPLIER_PRO_CSCHEDUL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(30)", |
||||
|
oldMaxLength: 30, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Id", |
||||
|
table: "SUPPLIER_PRO_CSCHEDUL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(50)", |
||||
|
oldMaxLength: 50, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "RequestDate", |
||||
|
table: "SUPPLIER_PO", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(30)", |
||||
|
oldMaxLength: 30, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Id", |
||||
|
table: "SUPPLIER_PO", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(50)", |
||||
|
oldMaxLength: 50, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "RequestDate", |
||||
|
table: "SUPPLIER_MRP_WARNING", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(30)", |
||||
|
oldMaxLength: 30, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Id", |
||||
|
table: "SUPPLIER_MRP_WARNING", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(50)", |
||||
|
oldMaxLength: 50, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "RequestDate", |
||||
|
table: "SUPPLIER_MRP_STATE", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(30)", |
||||
|
oldMaxLength: 30, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Id", |
||||
|
table: "SUPPLIER_MRP_STATE", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(50)", |
||||
|
oldMaxLength: 50, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "RequestDate", |
||||
|
table: "SUPPLIER_MRP_MONTH", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(30)", |
||||
|
oldMaxLength: 30, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Id", |
||||
|
table: "SUPPLIER_MRP_MONTH", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(50)", |
||||
|
oldMaxLength: 50, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "RequestDate", |
||||
|
table: "SUPPLIER_MRP_DATE", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(30)", |
||||
|
oldMaxLength: 30, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Id", |
||||
|
table: "SUPPLIER_MRP_DATE", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(50)", |
||||
|
oldMaxLength: 50, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "RequestDate", |
||||
|
table: "SUPPLIER_INV_DATA", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(30)", |
||||
|
oldMaxLength: 30, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Id", |
||||
|
table: "SUPPLIER_INV_DATA", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(50)", |
||||
|
oldMaxLength: 50, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "RequestDate", |
||||
|
table: "SUPPLIER_DEL_STATE", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(30)", |
||||
|
oldMaxLength: 30, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Id", |
||||
|
table: "SUPPLIER_DEL_STATE", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(50)", |
||||
|
oldMaxLength: 50, |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "StartDate", |
||||
|
table: "SUPPLIER_CON_DATE", |
||||
|
type: "NVARCHAR(10)", |
||||
|
maxLength: 10, |
||||
|
nullable: false, |
||||
|
defaultValue: "", |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "datetime2", |
||||
|
oldNullable: true); |
||||
|
} |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue