87 changed files with 4161 additions and 272664 deletions
File diff suppressed because it is too large
File diff suppressed because it is too large
File diff suppressed because it is too large
@ -1,502 +0,0 @@ |
|||
using System; |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class _2025052901 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropTable( |
|||
name: "SUPPLIER_PRO_ATTACHMENT_DATA"); |
|||
|
|||
migrationBuilder.DropTable( |
|||
name: "SUPPLIER_PRO_ENVIRONMENT"); |
|||
|
|||
migrationBuilder.DropTable( |
|||
name: "SUPPLIER_PRO_MATERIAL_DATA"); |
|||
|
|||
migrationBuilder.DropTable( |
|||
name: "SUPPLIER_PRO_OEE_ACHIEVEMENT_RATE"); |
|||
|
|||
migrationBuilder.DropTable( |
|||
name: "SUPPLIER_PRO_OEE_TIME_DETAILS"); |
|||
|
|||
migrationBuilder.DropTable( |
|||
name: "SUPPLIER_PRO_PROCESS"); |
|||
|
|||
migrationBuilder.DropTable( |
|||
name: "SUPPLIER_PRO_PROCESS_EQUIPMENT"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "NVarchar(500)", |
|||
maxLength: 500, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "CheryProductName", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "VARCHAR(100)", |
|||
maxLength: 100, |
|||
nullable: false, |
|||
defaultValue: ""); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "CheryProductNo", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: false, |
|||
defaultValue: ""); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "CheryProductSn", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "VARCHAR(64)", |
|||
maxLength: 64, |
|||
nullable: false, |
|||
defaultValue: ""); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "ClassOfName", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: false, |
|||
defaultValue: ""); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "DefectsCode", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: false, |
|||
defaultValue: ""); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "DefectsDesc", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "VARCHAR(255)", |
|||
maxLength: 255, |
|||
nullable: false, |
|||
defaultValue: ""); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "DefectsLevel", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "CHAR(1)", |
|||
maxLength: 1, |
|||
nullable: false, |
|||
defaultValue: ""); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "DefectsName", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "VARCHAR(100)", |
|||
maxLength: 100, |
|||
nullable: false, |
|||
defaultValue: ""); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "ManufactureNo", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: false, |
|||
defaultValue: ""); |
|||
|
|||
migrationBuilder.AddColumn<decimal>( |
|||
name: "Numberofdefect", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "DECIMAL(16,5)", |
|||
precision: 16, |
|||
scale: 5, |
|||
nullable: false, |
|||
defaultValue: 0m); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "PlantId", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: false, |
|||
defaultValue: ""); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "PlantName", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "VARCHAR(64)", |
|||
maxLength: 64, |
|||
nullable: false, |
|||
defaultValue: ""); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "ProductBatchNo", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: false, |
|||
defaultValue: ""); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "ProductionLineId", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: false, |
|||
defaultValue: ""); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "ProductionLineName", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "VARCHAR(64)", |
|||
maxLength: 64, |
|||
nullable: false, |
|||
defaultValue: ""); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "StationId", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: false, |
|||
defaultValue: ""); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "StationName", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "VARCHAR(64)", |
|||
maxLength: 64, |
|||
nullable: false, |
|||
defaultValue: ""); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "StatisticalTime", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "CHAR(19)", |
|||
maxLength: 19, |
|||
nullable: false, |
|||
defaultValue: ""); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "SupplierCode", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: false, |
|||
defaultValue: ""); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "SupplierName", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "VARCHAR(64)", |
|||
maxLength: 64, |
|||
nullable: false, |
|||
defaultValue: ""); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "VendorProductBatch", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: false, |
|||
defaultValue: ""); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "VendorProductName", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "VARCHAR(100)", |
|||
maxLength: 100, |
|||
nullable: false, |
|||
defaultValue: ""); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "VendorProductNo", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: false, |
|||
defaultValue: ""); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "VendorProductSn", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "VARCHAR(64)", |
|||
maxLength: 64, |
|||
nullable: false, |
|||
defaultValue: ""); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "WorkShift", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "VARCHAR(10)", |
|||
maxLength: 10, |
|||
nullable: false, |
|||
defaultValue: ""); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "WorkshopId", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: false, |
|||
defaultValue: ""); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "WorkshopName", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "VARCHAR(64)", |
|||
maxLength: 64, |
|||
nullable: false, |
|||
defaultValue: ""); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropColumn( |
|||
name: "CheryProductName", |
|||
table: "SUPPLIER_PRO_FLAW"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "CheryProductNo", |
|||
table: "SUPPLIER_PRO_FLAW"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "CheryProductSn", |
|||
table: "SUPPLIER_PRO_FLAW"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "ClassOfName", |
|||
table: "SUPPLIER_PRO_FLAW"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "DefectsCode", |
|||
table: "SUPPLIER_PRO_FLAW"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "DefectsDesc", |
|||
table: "SUPPLIER_PRO_FLAW"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "DefectsLevel", |
|||
table: "SUPPLIER_PRO_FLAW"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "DefectsName", |
|||
table: "SUPPLIER_PRO_FLAW"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "ManufactureNo", |
|||
table: "SUPPLIER_PRO_FLAW"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "Numberofdefect", |
|||
table: "SUPPLIER_PRO_FLAW"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "PlantId", |
|||
table: "SUPPLIER_PRO_FLAW"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "PlantName", |
|||
table: "SUPPLIER_PRO_FLAW"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "ProductBatchNo", |
|||
table: "SUPPLIER_PRO_FLAW"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "ProductionLineId", |
|||
table: "SUPPLIER_PRO_FLAW"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "ProductionLineName", |
|||
table: "SUPPLIER_PRO_FLAW"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "StationId", |
|||
table: "SUPPLIER_PRO_FLAW"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "StationName", |
|||
table: "SUPPLIER_PRO_FLAW"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "StatisticalTime", |
|||
table: "SUPPLIER_PRO_FLAW"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "SupplierCode", |
|||
table: "SUPPLIER_PRO_FLAW"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "SupplierName", |
|||
table: "SUPPLIER_PRO_FLAW"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "VendorProductBatch", |
|||
table: "SUPPLIER_PRO_FLAW"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "VendorProductName", |
|||
table: "SUPPLIER_PRO_FLAW"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "VendorProductNo", |
|||
table: "SUPPLIER_PRO_FLAW"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "VendorProductSn", |
|||
table: "SUPPLIER_PRO_FLAW"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "WorkShift", |
|||
table: "SUPPLIER_PRO_FLAW"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "WorkshopId", |
|||
table: "SUPPLIER_PRO_FLAW"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "WorkshopName", |
|||
table: "SUPPLIER_PRO_FLAW"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "NVarchar(500)", |
|||
oldMaxLength: 500); |
|||
|
|||
migrationBuilder.CreateTable( |
|||
name: "SUPPLIER_PRO_ATTACHMENT_DATA", |
|||
columns: table => new |
|||
{ |
|||
UId = table.Column<long>(type: "bigint", nullable: false) |
|||
.Annotation("SqlServer:Identity", "1, 1"), |
|||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|||
ReadState = table.Column<bool>(type: "bit", nullable: false), |
|||
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|||
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|||
WriteState = table.Column<bool>(type: "bit", nullable: false) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_SUPPLIER_PRO_ATTACHMENT_DATA", x => x.UId); |
|||
}); |
|||
|
|||
migrationBuilder.CreateTable( |
|||
name: "SUPPLIER_PRO_ENVIRONMENT", |
|||
columns: table => new |
|||
{ |
|||
UId = table.Column<long>(type: "bigint", nullable: false) |
|||
.Annotation("SqlServer:Identity", "1, 1"), |
|||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|||
ReadState = table.Column<bool>(type: "bit", nullable: false), |
|||
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|||
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|||
WriteState = table.Column<bool>(type: "bit", nullable: false) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_SUPPLIER_PRO_ENVIRONMENT", x => x.UId); |
|||
}); |
|||
|
|||
migrationBuilder.CreateTable( |
|||
name: "SUPPLIER_PRO_MATERIAL_DATA", |
|||
columns: table => new |
|||
{ |
|||
UId = table.Column<long>(type: "bigint", nullable: false) |
|||
.Annotation("SqlServer:Identity", "1, 1"), |
|||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|||
ReadState = table.Column<bool>(type: "bit", nullable: false), |
|||
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|||
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|||
WriteState = table.Column<bool>(type: "bit", nullable: false) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_SUPPLIER_PRO_MATERIAL_DATA", x => x.UId); |
|||
}); |
|||
|
|||
migrationBuilder.CreateTable( |
|||
name: "SUPPLIER_PRO_OEE_ACHIEVEMENT_RATE", |
|||
columns: table => new |
|||
{ |
|||
UId = table.Column<long>(type: "bigint", nullable: false) |
|||
.Annotation("SqlServer:Identity", "1, 1"), |
|||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|||
ReadState = table.Column<bool>(type: "bit", nullable: false), |
|||
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|||
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|||
WriteState = table.Column<bool>(type: "bit", nullable: false) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_SUPPLIER_PRO_OEE_ACHIEVEMENT_RATE", x => x.UId); |
|||
}); |
|||
|
|||
migrationBuilder.CreateTable( |
|||
name: "SUPPLIER_PRO_OEE_TIME_DETAILS", |
|||
columns: table => new |
|||
{ |
|||
UId = table.Column<long>(type: "bigint", nullable: false) |
|||
.Annotation("SqlServer:Identity", "1, 1"), |
|||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|||
ReadState = table.Column<bool>(type: "bit", nullable: false), |
|||
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|||
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|||
WriteState = table.Column<bool>(type: "bit", nullable: false) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_SUPPLIER_PRO_OEE_TIME_DETAILS", x => x.UId); |
|||
}); |
|||
|
|||
migrationBuilder.CreateTable( |
|||
name: "SUPPLIER_PRO_PROCESS", |
|||
columns: table => new |
|||
{ |
|||
UId = table.Column<long>(type: "bigint", nullable: false) |
|||
.Annotation("SqlServer:Identity", "1, 1"), |
|||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|||
ReadState = table.Column<bool>(type: "bit", nullable: false), |
|||
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|||
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|||
WriteState = table.Column<bool>(type: "bit", nullable: false) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_SUPPLIER_PRO_PROCESS", x => x.UId); |
|||
}); |
|||
|
|||
migrationBuilder.CreateTable( |
|||
name: "SUPPLIER_PRO_PROCESS_EQUIPMENT", |
|||
columns: table => new |
|||
{ |
|||
UId = table.Column<long>(type: "bigint", nullable: false) |
|||
.Annotation("SqlServer:Identity", "1, 1"), |
|||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|||
ReadState = table.Column<bool>(type: "bit", nullable: false), |
|||
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|||
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|||
WriteState = table.Column<bool>(type: "bit", nullable: false) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_SUPPLIER_PRO_PROCESS_EQUIPMENT", x => x.UId); |
|||
}); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -1,530 +0,0 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class _2025052902 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_SINV_DATA", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_SA_WEEK", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_RETURN", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_PRO_TSCHEDUL", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_PRO_STATION_FIRST_PASSYIELD", |
|||
type: "NVarchar(500)", |
|||
maxLength: 500, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "NVarchar(500)", |
|||
oldMaxLength: 500); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_PRO_SCHEDULING", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_PRO_PLANING", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_PRO_MATERIAL_STOCK", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_PRO_HSCHEDUL", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
|
|||
migrationBuilder.AlterColumn<bool>( |
|||
name: "WriteState", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "bit", |
|||
nullable: false, |
|||
defaultValue: false, |
|||
oldClrType: typeof(bool), |
|||
oldType: "bit"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "NVarchar(500)", |
|||
maxLength: 500, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "NVarchar(500)", |
|||
oldMaxLength: 500); |
|||
|
|||
migrationBuilder.AlterColumn<bool>( |
|||
name: "ReadState", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "bit", |
|||
nullable: false, |
|||
defaultValue: false, |
|||
oldClrType: typeof(bool), |
|||
oldType: "bit"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_PRO_FIRST_PASSYIELD", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_PRO_DATA", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_PRO_CSCHEDUL", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_PRO_CPS", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_PO", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_MRP_STATE", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_MRP_DATE", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_INV_DATA", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_INFO", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_EMPLOYEE", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_DEL_STATE", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_CON_PO", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_BOM", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_SINV_DATA", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_SA_WEEK", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_RETURN", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_PRO_TSCHEDUL", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_PRO_STATION_FIRST_PASSYIELD", |
|||
type: "NVarchar(500)", |
|||
maxLength: 500, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "NVarchar(500)", |
|||
oldMaxLength: 500, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_PRO_SCHEDULING", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_PRO_PLANING", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_PRO_MATERIAL_STOCK", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_PRO_HSCHEDUL", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<bool>( |
|||
name: "WriteState", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "bit", |
|||
nullable: false, |
|||
oldClrType: typeof(bool), |
|||
oldType: "bit", |
|||
oldDefaultValue: false); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "NVarchar(500)", |
|||
maxLength: 500, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "NVarchar(500)", |
|||
oldMaxLength: 500, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<bool>( |
|||
name: "ReadState", |
|||
table: "SUPPLIER_PRO_FLAW", |
|||
type: "bit", |
|||
nullable: false, |
|||
oldClrType: typeof(bool), |
|||
oldType: "bit", |
|||
oldDefaultValue: false); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_PRO_FIRST_PASSYIELD", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_PRO_DATA", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_PRO_CSCHEDUL", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_PRO_CPS", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_PO", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_MRP_STATE", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_MRP_DATE", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_INV_DATA", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_INFO", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_EMPLOYEE", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_DEL_STATE", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_CON_PO", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Remark", |
|||
table: "SUPPLIER_BOM", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -1,303 +0,0 @@ |
|||
using System; |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class _2025052903 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.CreateTable( |
|||
name: "SUPPLIER_PRO_ATTACHMENT_DATA", |
|||
columns: table => new |
|||
{ |
|||
UId = table.Column<long>(type: "bigint", nullable: false) |
|||
.Annotation("SqlServer:Identity", "1, 1"), |
|||
SupplierCode = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
SupplierName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
Type = table.Column<string>(type: "VARCHAR(16)", maxLength: 16, nullable: false), |
|||
FileName = table.Column<string>(type: "VARCHAR(300)", maxLength: 300, nullable: false), |
|||
FileUrl = table.Column<string>(type: "VARCHAR(1000)", maxLength: 1000, nullable: false), |
|||
DateTime = table.Column<string>(type: "CHAR(19)", maxLength: 19, nullable: false), |
|||
ProductionLineName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
ProductionLineId = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
StationName = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
StationId = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
DeviceName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
DeviceId = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
VendorProductNo = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
VendorProductName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
CheryProductNo = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
CheryProductName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
VendorProductSn = table.Column<string>(type: "VARCHAR(100)", maxLength: 100, nullable: true), |
|||
WriteState = table.Column<bool>(type: "bit", nullable: false, defaultValue: false), |
|||
ReadState = table.Column<bool>(type: "bit", nullable: false, defaultValue: false), |
|||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|||
Remark = table.Column<string>(type: "NVarchar(500)", maxLength: 500, nullable: true), |
|||
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_SUPPLIER_PRO_ATTACHMENT_DATA", x => x.UId); |
|||
}); |
|||
|
|||
migrationBuilder.CreateTable( |
|||
name: "SUPPLIER_PRO_ENVIRONMENT", |
|||
columns: table => new |
|||
{ |
|||
UId = table.Column<long>(type: "bigint", nullable: false) |
|||
.Annotation("SqlServer:Identity", "1, 1"), |
|||
SupplierCode = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
SupplierName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
PlantId = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
PlantName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
WorkshopId = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
WorkshopName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
ProductionLineId = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
ProductionLineName = table.Column<string>(type: "VARCHAR(100)", maxLength: 100, nullable: false), |
|||
EnvIndicatorName = table.Column<string>(type: "VARCHAR(100)", maxLength: 100, nullable: false), |
|||
NumValue = table.Column<decimal>(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true), |
|||
UpperLimit = table.Column<decimal>(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: false), |
|||
LowerLimit = table.Column<decimal>(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: false), |
|||
ChineseUnit = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
EquipmentCode = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
EquipmentName = table.Column<string>(type: "VARCHAR(100)", maxLength: 100, nullable: false), |
|||
DataCollectionPoint = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: true), |
|||
CollectTime = table.Column<string>(type: "CHAR(19)", maxLength: 19, nullable: false), |
|||
WriteState = table.Column<bool>(type: "bit", nullable: false, defaultValue: false), |
|||
ReadState = table.Column<bool>(type: "bit", nullable: false, defaultValue: false), |
|||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|||
Remark = table.Column<string>(type: "NVarchar(500)", maxLength: 500, nullable: true), |
|||
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_SUPPLIER_PRO_ENVIRONMENT", x => x.UId); |
|||
}); |
|||
|
|||
migrationBuilder.CreateTable( |
|||
name: "SUPPLIER_PRO_MATERIAL_DATA", |
|||
columns: table => new |
|||
{ |
|||
UId = table.Column<long>(type: "bigint", nullable: false) |
|||
.Annotation("SqlServer:Identity", "1, 1"), |
|||
SupplierCode = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
SupplierName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
VendorProductNo = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
VendorProductName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
Type = table.Column<decimal>(type: "DECIMAL(1,0)", precision: 1, scale: 0, nullable: false), |
|||
VendorHardwareRevision = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: true), |
|||
CheryProductNo = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
CheryProductName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
OemHardwareRevision = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
OemSoftwareRevision = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: true), |
|||
OemModel = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: true), |
|||
OemProjectName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: true), |
|||
Launched = table.Column<string>(type: "VARCHAR(6)", maxLength: 6, nullable: true), |
|||
DateTime = table.Column<string>(type: "CHAR(19)", maxLength: 19, nullable: true), |
|||
PlantId = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: true), |
|||
PlantName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: true), |
|||
ProcurementType = table.Column<string>(type: "VARCHAR(16)", maxLength: 16, nullable: true), |
|||
MpnCode = table.Column<string>(type: "VARCHAR(16)", maxLength: 16, nullable: true), |
|||
MpnName = table.Column<string>(type: "VARCHAR(16)", maxLength: 16, nullable: true), |
|||
ValidDays = table.Column<string>(type: "CHAR(12)", maxLength: 12, nullable: false), |
|||
WriteState = table.Column<bool>(type: "bit", nullable: false, defaultValue: false), |
|||
ReadState = table.Column<bool>(type: "bit", nullable: false, defaultValue: false), |
|||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|||
Remark = table.Column<string>(type: "NVarchar(500)", maxLength: 500, nullable: true), |
|||
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_SUPPLIER_PRO_MATERIAL_DATA", x => x.UId); |
|||
}); |
|||
|
|||
migrationBuilder.CreateTable( |
|||
name: "SUPPLIER_PRO_OEE_ACHIEVEMENT_RATE", |
|||
columns: table => new |
|||
{ |
|||
UId = table.Column<long>(type: "bigint", nullable: false) |
|||
.Annotation("SqlServer:Identity", "1, 1"), |
|||
SupplierCode = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
SupplierName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
PlantId = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
PlantName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
WorkshopId = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
WorkshopName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
ProductionLineId = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
ProductionLineName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
StationId = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
StationName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
DeviceId = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
DeviceName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
CheryProductNo = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
CheryProductName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
VendorProductNo = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
VendorProductName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
ProductBatchNo = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
ManufactureNo = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
Rate = table.Column<decimal>(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: false), |
|||
RateTagValue = table.Column<decimal>(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: false), |
|||
WorkShift = table.Column<string>(type: "VARCHAR(10)", maxLength: 10, nullable: false), |
|||
StatisticalTime = table.Column<string>(type: "CHAR(19)", maxLength: 19, nullable: false), |
|||
DateTime = table.Column<string>(type: "CHAR(19)", maxLength: 19, nullable: false), |
|||
WriteState = table.Column<bool>(type: "bit", nullable: false, defaultValue: false), |
|||
ReadState = table.Column<bool>(type: "bit", nullable: false, defaultValue: false), |
|||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|||
Remark = table.Column<string>(type: "NVarchar(500)", maxLength: 500, nullable: true), |
|||
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_SUPPLIER_PRO_OEE_ACHIEVEMENT_RATE", x => x.UId); |
|||
}); |
|||
|
|||
migrationBuilder.CreateTable( |
|||
name: "SUPPLIER_PRO_OEE_TIME_DETAILS", |
|||
columns: table => new |
|||
{ |
|||
UId = table.Column<long>(type: "bigint", nullable: false) |
|||
.Annotation("SqlServer:Identity", "1, 1"), |
|||
SupplierCode = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
SupplierName = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
PlantId = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
PlantName = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
WorkshopId = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
WorkshopName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
ProductionLineId = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
ProductionLineName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
StationId = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
StationName = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
DeviceId = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
DeviceName = table.Column<string>(type: "VARCHAR(33)", maxLength: 33, nullable: false), |
|||
RecId = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
Type = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
SubType = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
SubTypeName = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
StartTime = table.Column<string>(type: "CHAR(19)", maxLength: 19, nullable: false), |
|||
EndTime = table.Column<string>(type: "CHAR(19)", maxLength: 19, nullable: false), |
|||
WriteState = table.Column<bool>(type: "bit", nullable: false, defaultValue: false), |
|||
ReadState = table.Column<bool>(type: "bit", nullable: false, defaultValue: false), |
|||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|||
Remark = table.Column<string>(type: "NVarchar(500)", maxLength: 500, nullable: true), |
|||
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_SUPPLIER_PRO_OEE_TIME_DETAILS", x => x.UId); |
|||
}); |
|||
|
|||
migrationBuilder.CreateTable( |
|||
name: "SUPPLIER_PRO_PROCESS", |
|||
columns: table => new |
|||
{ |
|||
UId = table.Column<long>(type: "bigint", nullable: false) |
|||
.Annotation("SqlServer:Identity", "1, 1"), |
|||
CheryProductNo = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
CheryProductName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
VendorProductNo = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
VendorProductName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
SupplierCode = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
SupplierName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
TechCode = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
TechName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
ValidPeriod = table.Column<string>(type: "CHAR(19)", maxLength: 19, nullable: false), |
|||
TechVersion = table.Column<string>(type: "VARCHAR(16)", maxLength: 16, nullable: false), |
|||
MoldCode = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
MoldName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
MaxProcessingCapacity = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
ProcessCode = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
ProcessName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
ProcessOrder = table.Column<decimal>(type: "DECIMAL(16,0)", precision: 16, scale: 0, nullable: false), |
|||
DeviceCode = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
Rhythm = table.Column<decimal>(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: false), |
|||
RhythmUnit = table.Column<string>(type: "VARCHAR(16)", maxLength: 16, nullable: false), |
|||
WriteState = table.Column<bool>(type: "bit", nullable: false, defaultValue: false), |
|||
ReadState = table.Column<bool>(type: "bit", nullable: false, defaultValue: false), |
|||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|||
Remark = table.Column<string>(type: "NVarchar(500)", maxLength: 500, nullable: true), |
|||
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_SUPPLIER_PRO_PROCESS", x => x.UId); |
|||
}); |
|||
|
|||
migrationBuilder.CreateTable( |
|||
name: "SUPPLIER_PRO_PROCESS_EQUIPMENT", |
|||
columns: table => new |
|||
{ |
|||
UId = table.Column<long>(type: "bigint", nullable: false) |
|||
.Annotation("SqlServer:Identity", "1, 1"), |
|||
SupplierCode = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
SupplierName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
CheryProductNo = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
CheryProductName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
VendorProductNo = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
VendorProductName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
DeviceType = table.Column<decimal>(type: "DECIMAL(1,0)", precision: 1, scale: 0, nullable: false), |
|||
DeviceCode = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
DeviceName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
Manufacturer = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
ModelNumber = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
SerialNumber = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
ProductionDate = table.Column<string>(type: "CHAR(16)", maxLength: 16, nullable: false), |
|||
Material = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
CurrentLocation = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
DeviceStatus = table.Column<string>(type: "VARCHAR(16)", maxLength: 16, nullable: false), |
|||
CavityCount = table.Column<decimal>(type: "DECIMAL(16,0)", precision: 16, scale: 0, nullable: false), |
|||
MoldSize = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
DesignLifeUnits = table.Column<string>(type: "VARCHAR(16)", maxLength: 16, nullable: false), |
|||
DesignLifeValue = table.Column<string>(type: "VARCHAR(16)", maxLength: 16, nullable: false), |
|||
CurrentUsageCount = table.Column<string>(type: "VARCHAR(16)", maxLength: 16, nullable: false), |
|||
OverhaulCount = table.Column<decimal>(type: "DECIMAL(16,0)", precision: 16, scale: 0, nullable: false), |
|||
CoolingChannelLayout = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
DetectionAccuracy = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
CalibrationDate = table.Column<string>(type: "CHAR(19)", maxLength: 19, nullable: false), |
|||
CalibrationDueDays = table.Column<string>(type: "CHAR(12)", maxLength: 12, nullable: false), |
|||
ToleranceRange = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
WearThreshold = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
DetectionRange = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
UnitType = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
WriteState = table.Column<bool>(type: "bit", nullable: false, defaultValue: false), |
|||
ReadState = table.Column<bool>(type: "bit", nullable: false, defaultValue: false), |
|||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|||
Remark = table.Column<string>(type: "NVarchar(500)", maxLength: 500, nullable: true), |
|||
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_SUPPLIER_PRO_PROCESS_EQUIPMENT", x => x.UId); |
|||
}); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropTable( |
|||
name: "SUPPLIER_PRO_ATTACHMENT_DATA"); |
|||
|
|||
migrationBuilder.DropTable( |
|||
name: "SUPPLIER_PRO_ENVIRONMENT"); |
|||
|
|||
migrationBuilder.DropTable( |
|||
name: "SUPPLIER_PRO_MATERIAL_DATA"); |
|||
|
|||
migrationBuilder.DropTable( |
|||
name: "SUPPLIER_PRO_OEE_ACHIEVEMENT_RATE"); |
|||
|
|||
migrationBuilder.DropTable( |
|||
name: "SUPPLIER_PRO_OEE_TIME_DETAILS"); |
|||
|
|||
migrationBuilder.DropTable( |
|||
name: "SUPPLIER_PRO_PROCESS"); |
|||
|
|||
migrationBuilder.DropTable( |
|||
name: "SUPPLIER_PRO_PROCESS_EQUIPMENT"); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
File diff suppressed because it is too large
File diff suppressed because it is too large
File diff suppressed because it is too large
File diff suppressed because it is too large
@ -1,222 +0,0 @@ |
|||
using System; |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z202505300001 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AddColumn<string>( |
|||
name: "Client", |
|||
table: "TaskConifgure", |
|||
type: "nvarchar(max)", |
|||
nullable: true); |
|||
|
|||
migrationBuilder.CreateTable( |
|||
name: "SUPPLIER_EMPLOYEE_DT", |
|||
columns: table => new |
|||
{ |
|||
UId = table.Column<long>(type: "bigint", nullable: false) |
|||
.Annotation("SqlServer:Identity", "1, 1"), |
|||
SupplierCode = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
SupplierName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
PlantId = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
PlantName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
WorkshopId = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
WorkshopName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
ProductionLineId = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
ProductionLineName = table.Column<string>(type: "VARCHAR(100)", maxLength: 100, nullable: false), |
|||
StationId = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
StationName = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
OperatorId = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
OperatorName = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
HaveQuantity = table.Column<string>(type: "CHAR(1)", maxLength: 1, nullable: false), |
|||
DataUpdateTime = table.Column<string>(type: "CHAR(19)", maxLength: 19, nullable: false), |
|||
PositionId = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
PositionName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
QualificationLevel = table.Column<string>(type: "VARCHAR(16)", maxLength: 16, nullable: false), |
|||
CheckInTime = table.Column<string>(type: "CHAR(19)", maxLength: 19, nullable: false), |
|||
CheckOutTime = table.Column<string>(type: "CHAR(19)", maxLength: 19, nullable: false), |
|||
WriteState = table.Column<bool>(type: "bit", nullable: false, defaultValue: false), |
|||
ReadState = table.Column<bool>(type: "bit", nullable: false, defaultValue: false), |
|||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|||
Remark = table.Column<string>(type: "NVarchar(500)", maxLength: 500, nullable: true) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_SUPPLIER_EMPLOYEE_DT", x => x.UId); |
|||
}); |
|||
|
|||
migrationBuilder.CreateTable( |
|||
name: "SUPPLIER_INFO_DT", |
|||
columns: table => new |
|||
{ |
|||
UId = table.Column<long>(type: "bigint", nullable: false) |
|||
.Annotation("SqlServer:Identity", "1, 1"), |
|||
SupplierCode = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
SupplierName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
PlantId = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
PlantName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
WorkshopId = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
WorkshopName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
ProductionLineId = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
ProductionLineName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
StationId = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
StationName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
KeyStation = table.Column<string>(type: "CHAR(1)", maxLength: 1, nullable: false), |
|||
DataUpdateTime = table.Column<string>(type: "CHAR(19)", maxLength: 19, nullable: false), |
|||
ProductionLineOrder = table.Column<decimal>(type: "DECIMAL(16,0)", precision: 16, scale: 0, nullable: false), |
|||
StationOrder = table.Column<decimal>(type: "DECIMAL(16,0)", precision: 16, scale: 0, nullable: false), |
|||
VendorProductNo = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
VendorProductName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
CheryProductNo = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
CheryProductName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
WriteState = table.Column<bool>(type: "bit", nullable: false, defaultValue: false), |
|||
ReadState = table.Column<bool>(type: "bit", nullable: false, defaultValue: false), |
|||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|||
Remark = table.Column<string>(type: "NVarchar(500)", maxLength: 500, nullable: true) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_SUPPLIER_INFO_DT", x => x.UId); |
|||
}); |
|||
|
|||
migrationBuilder.CreateTable( |
|||
name: "SUPPLIER_PRO_ATTACHMENT_DATA_DT", |
|||
columns: table => new |
|||
{ |
|||
UId = table.Column<long>(type: "bigint", nullable: false) |
|||
.Annotation("SqlServer:Identity", "1, 1"), |
|||
SupplierCode = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
SupplierName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
Type = table.Column<string>(type: "VARCHAR(16)", maxLength: 16, nullable: false), |
|||
FileName = table.Column<string>(type: "VARCHAR(300)", maxLength: 300, nullable: false), |
|||
FileUrl = table.Column<string>(type: "VARCHAR(1000)", maxLength: 1000, nullable: false), |
|||
DateTime = table.Column<string>(type: "CHAR(19)", maxLength: 19, nullable: false), |
|||
ProductionLineName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
ProductionLineId = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
StationName = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
StationId = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
DeviceName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
DeviceId = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
VendorProductNo = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
VendorProductName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
CheryProductNo = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
CheryProductName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
VendorProductSn = table.Column<string>(type: "VARCHAR(100)", maxLength: 100, nullable: true), |
|||
WriteState = table.Column<bool>(type: "bit", nullable: false, defaultValue: false), |
|||
ReadState = table.Column<bool>(type: "bit", nullable: false, defaultValue: false), |
|||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|||
Remark = table.Column<string>(type: "NVarchar(500)", maxLength: 500, nullable: true) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_SUPPLIER_PRO_ATTACHMENT_DATA_DT", x => x.UId); |
|||
}); |
|||
|
|||
migrationBuilder.CreateTable( |
|||
name: "SUPPLIER_PRO_PROCESS_EQUIPMENT_DT", |
|||
columns: table => new |
|||
{ |
|||
UId = table.Column<long>(type: "bigint", nullable: false) |
|||
.Annotation("SqlServer:Identity", "1, 1"), |
|||
SupplierCode = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
SupplierName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
CheryProductNo = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
CheryProductName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
VendorProductNo = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
VendorProductName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
DeviceType = table.Column<decimal>(type: "DECIMAL(1,0)", precision: 1, scale: 0, nullable: false), |
|||
DeviceCode = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
DeviceName = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
Manufacturer = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
ModelNumber = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
SerialNumber = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
ProductionDate = table.Column<string>(type: "CHAR(16)", maxLength: 16, nullable: false), |
|||
Material = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
CurrentLocation = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
DeviceStatus = table.Column<string>(type: "VARCHAR(16)", maxLength: 16, nullable: false), |
|||
CavityCount = table.Column<decimal>(type: "DECIMAL(16,0)", precision: 16, scale: 0, nullable: false), |
|||
MoldSize = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
DesignLifeUnits = table.Column<string>(type: "VARCHAR(16)", maxLength: 16, nullable: false), |
|||
DesignLifeValue = table.Column<string>(type: "VARCHAR(16)", maxLength: 16, nullable: false), |
|||
CurrentUsageCount = table.Column<string>(type: "VARCHAR(16)", maxLength: 16, nullable: false), |
|||
OverhaulCount = table.Column<decimal>(type: "DECIMAL(16,0)", precision: 16, scale: 0, nullable: false), |
|||
CoolingChannelLayout = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
DetectionAccuracy = table.Column<string>(type: "VARCHAR(64)", maxLength: 64, nullable: false), |
|||
CalibrationDate = table.Column<string>(type: "CHAR(19)", maxLength: 19, nullable: false), |
|||
CalibrationDueDays = table.Column<string>(type: "CHAR(12)", maxLength: 12, nullable: false), |
|||
ToleranceRange = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
WearThreshold = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
DetectionRange = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
UnitType = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|||
WriteState = table.Column<bool>(type: "bit", nullable: false, defaultValue: false), |
|||
ReadState = table.Column<bool>(type: "bit", nullable: false, defaultValue: false), |
|||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|||
Remark = table.Column<string>(type: "NVarchar(500)", maxLength: 500, nullable: true) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_SUPPLIER_PRO_PROCESS_EQUIPMENT_DT", x => x.UId); |
|||
}); |
|||
|
|||
migrationBuilder.CreateTable( |
|||
name: "TaskSub", |
|||
columns: table => new |
|||
{ |
|||
UId = table.Column<long>(type: "bigint", nullable: false) |
|||
.Annotation("SqlServer:Identity", "1, 1"), |
|||
TableName = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|||
TaskName = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|||
DataCount = table.Column<int>(type: "int", nullable: false), |
|||
Subscriber = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|||
FailedCount = table.Column<int>(type: "int", nullable: false), |
|||
FailedInfo = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|||
Domain = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|||
Site = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|||
CreateUser = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|||
CreateTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|||
Remark = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|||
UpdateUser = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|||
UpdateTime = table.Column<DateTime>(type: "datetime2", nullable: true), |
|||
SyncedPageCount = table.Column<int>(type: "int", nullable: false), |
|||
WriteState = table.Column<bool>(type: "bit", nullable: false), |
|||
ReadState = table.Column<bool>(type: "bit", nullable: false), |
|||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|||
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_TaskSub", x => x.UId); |
|||
}); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropTable( |
|||
name: "SUPPLIER_EMPLOYEE_DT"); |
|||
|
|||
migrationBuilder.DropTable( |
|||
name: "SUPPLIER_INFO_DT"); |
|||
|
|||
migrationBuilder.DropTable( |
|||
name: "SUPPLIER_PRO_ATTACHMENT_DATA_DT"); |
|||
|
|||
migrationBuilder.DropTable( |
|||
name: "SUPPLIER_PRO_PROCESS_EQUIPMENT_DT"); |
|||
|
|||
migrationBuilder.DropTable( |
|||
name: "TaskSub"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "Client", |
|||
table: "TaskConifgure"); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -1,34 +0,0 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z202506030001 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand3", |
|||
table: "SUPPLIER_MRP_DATE", |
|||
type: "decimal(18,2)", |
|||
nullable: false, |
|||
oldClrType: typeof(int), |
|||
oldType: "int"); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<int>( |
|||
name: "QuantityDemand3", |
|||
table: "SUPPLIER_MRP_DATE", |
|||
type: "int", |
|||
nullable: false, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)"); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -1,43 +0,0 @@ |
|||
using System; |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z202506030002 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.CreateTable( |
|||
name: "TaskAllocation", |
|||
columns: table => new |
|||
{ |
|||
UId = table.Column<long>(type: "bigint", nullable: false) |
|||
.Annotation("SqlServer:Identity", "1, 1"), |
|||
TaskName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false), |
|||
TableName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false), |
|||
Creator = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false), |
|||
Subscriber = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false), |
|||
WriteState = table.Column<bool>(type: "bit", nullable: false), |
|||
ReadState = table.Column<bool>(type: "bit", nullable: false), |
|||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|||
Remark = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|||
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_TaskAllocation", x => x.UId); |
|||
}); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropTable( |
|||
name: "TaskAllocation"); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -1,22 +0,0 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class _2025060402 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
|
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
|
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -1,385 +0,0 @@ |
|||
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
@ -1,36 +0,0 @@ |
|||
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
@ -1,22 +0,0 @@ |
|||
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
@ -1,842 +0,0 @@ |
|||
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
@ -1,566 +0,0 @@ |
|||
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
@ -1,37 +0,0 @@ |
|||
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
@ -1,22 +0,0 @@ |
|||
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
@ -1,579 +0,0 @@ |
|||
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); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -1,126 +0,0 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z202506090009 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Version", |
|||
table: "TaskLogs", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(20)", |
|||
oldMaxLength: 20, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Type", |
|||
table: "TaskLogs", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(20)", |
|||
oldMaxLength: 20, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "TaskName", |
|||
table: "TaskLogs", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(20)", |
|||
oldMaxLength: 20, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Path", |
|||
table: "TaskLogs", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
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); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Version", |
|||
table: "TaskLogs", |
|||
type: "nvarchar(20)", |
|||
maxLength: 20, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Type", |
|||
table: "TaskLogs", |
|||
type: "nvarchar(20)", |
|||
maxLength: 20, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "TaskName", |
|||
table: "TaskLogs", |
|||
type: "nvarchar(20)", |
|||
maxLength: 20, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Path", |
|||
table: "TaskLogs", |
|||
type: "nvarchar(20)", |
|||
maxLength: 20, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Info", |
|||
table: "TaskLogs", |
|||
type: "nvarchar(20)", |
|||
maxLength: 20, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -1,34 +0,0 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z202506090010 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "IsDelete", |
|||
table: "SUPPLIER_PRO_TSCHEDUL", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
oldClrType: typeof(int), |
|||
oldType: "int"); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<int>( |
|||
name: "IsDelete", |
|||
table: "SUPPLIER_PRO_TSCHEDUL", |
|||
type: "int", |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -1,36 +0,0 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z202506090011 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "IsDelete", |
|||
table: "SUPPLIER_PRO_TSCHEDUL", |
|||
type: "nvarchar(5)", |
|||
maxLength: 5, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "IsDelete", |
|||
table: "SUPPLIER_PRO_TSCHEDUL", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(5)", |
|||
oldMaxLength: 5); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -1,420 +0,0 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z202506100001 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_PRO_PLANING", |
|||
type: "nvarchar(450)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand9", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)"); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand8", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)"); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand7", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)"); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand6", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)"); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand5", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)"); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand4", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)"); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand3", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)"); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand2", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)"); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand11", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)"); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand10", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)"); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand1", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)"); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_CON_PO", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "nvarchar(max)", |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_CON_DATE", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_SINV_DATA_Id", |
|||
table: "SUPPLIER_SINV_DATA", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_SA_WEEK_Id", |
|||
table: "SUPPLIER_SA_WEEK", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_RETURN_Id", |
|||
table: "SUPPLIER_RETURN", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_TSCHEDUL_Id", |
|||
table: "SUPPLIER_PRO_TSCHEDUL", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_PLANING_Id", |
|||
table: "SUPPLIER_PRO_PLANING", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_HSCHEDUL_Id", |
|||
table: "SUPPLIER_PRO_HSCHEDUL", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_CSCHEDUL_Id", |
|||
table: "SUPPLIER_PRO_CSCHEDUL", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PO_Id", |
|||
table: "SUPPLIER_PO", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_WARNING_Id", |
|||
table: "SUPPLIER_MRP_WARNING", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_STATE_Id", |
|||
table: "SUPPLIER_MRP_STATE", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_MONTH_Id", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_DATE_Id", |
|||
table: "SUPPLIER_MRP_DATE", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_INV_DATA_Id", |
|||
table: "SUPPLIER_INV_DATA", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_DEL_STATE_Id", |
|||
table: "SUPPLIER_DEL_STATE", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_SINV_DATA_Id", |
|||
table: "SUPPLIER_SINV_DATA"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_SA_WEEK_Id", |
|||
table: "SUPPLIER_SA_WEEK"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_RETURN_Id", |
|||
table: "SUPPLIER_RETURN"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_TSCHEDUL_Id", |
|||
table: "SUPPLIER_PRO_TSCHEDUL"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_PLANING_Id", |
|||
table: "SUPPLIER_PRO_PLANING"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_HSCHEDUL_Id", |
|||
table: "SUPPLIER_PRO_HSCHEDUL"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_CSCHEDUL_Id", |
|||
table: "SUPPLIER_PRO_CSCHEDUL"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PO_Id", |
|||
table: "SUPPLIER_PO"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_WARNING_Id", |
|||
table: "SUPPLIER_MRP_WARNING"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_STATE_Id", |
|||
table: "SUPPLIER_MRP_STATE"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_MONTH_Id", |
|||
table: "SUPPLIER_MRP_MONTH"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_DATE_Id", |
|||
table: "SUPPLIER_MRP_DATE"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_INV_DATA_Id", |
|||
table: "SUPPLIER_INV_DATA"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_DEL_STATE_Id", |
|||
table: "SUPPLIER_DEL_STATE"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "Id", |
|||
table: "SUPPLIER_CON_PO"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "Id", |
|||
table: "SUPPLIER_CON_MMRP"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "Id", |
|||
table: "SUPPLIER_CON_DATE"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_PRO_PLANING", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(450)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand9", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand8", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand7", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand6", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand5", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand4", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand3", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand2", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand11", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand10", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "QuantityDemand1", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "decimal(18,2)", |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,2)", |
|||
oldNullable: true); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -1,49 +0,0 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z2025061000024 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AddColumn<int>( |
|||
name: "PageSize", |
|||
table: "TaskConifgure", |
|||
type: "int", |
|||
nullable: false, |
|||
defaultValue: 0); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_PRO_PLANING", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(450)", |
|||
oldNullable: true); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropColumn( |
|||
name: "PageSize", |
|||
table: "TaskConifgure"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_PRO_PLANING", |
|||
type: "nvarchar(450)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -1,158 +0,0 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z20250610000240002 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Url", |
|||
table: "TaskConifgure", |
|||
type: "nvarchar(500)", |
|||
maxLength: 500, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "TaskName", |
|||
table: "TaskConifgure", |
|||
type: "nvarchar(200)", |
|||
maxLength: 200, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "TableName", |
|||
table: "TaskConifgure", |
|||
type: "nvarchar(100)", |
|||
maxLength: 100, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Module", |
|||
table: "TaskConifgure", |
|||
type: "nvarchar(400)", |
|||
maxLength: 400, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Corn", |
|||
table: "TaskConifgure", |
|||
type: "nvarchar(400)", |
|||
maxLength: 400, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Client", |
|||
table: "TaskConifgure", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Api", |
|||
table: "TaskConifgure", |
|||
type: "nvarchar(400)", |
|||
maxLength: 400, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Url", |
|||
table: "TaskConifgure", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(500)", |
|||
oldMaxLength: 500, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "TaskName", |
|||
table: "TaskConifgure", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(200)", |
|||
oldMaxLength: 200, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "TableName", |
|||
table: "TaskConifgure", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(100)", |
|||
oldMaxLength: 100, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Module", |
|||
table: "TaskConifgure", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(400)", |
|||
oldMaxLength: 400, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Corn", |
|||
table: "TaskConifgure", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(400)", |
|||
oldMaxLength: 400, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Client", |
|||
table: "TaskConifgure", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Api", |
|||
table: "TaskConifgure", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(400)", |
|||
oldMaxLength: 400, |
|||
oldNullable: true); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -1,69 +0,0 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z20250610000240003 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "nvarchar(450)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_CON_PO_Id", |
|||
table: "SUPPLIER_CON_PO", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_CON_MMRP_Id", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_CON_DATE_Id", |
|||
table: "SUPPLIER_CON_DATE", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_CON_PO_Id", |
|||
table: "SUPPLIER_CON_PO"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_CON_MMRP_Id", |
|||
table: "SUPPLIER_CON_MMRP"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_CON_DATE_Id", |
|||
table: "SUPPLIER_CON_DATE"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Id", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(450)", |
|||
oldNullable: true); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -1,741 +0,0 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z2025061100001 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialDescription", |
|||
table: "SUPPLIER_SA_WEEK", |
|||
type: "nvarchar(100)", |
|||
maxLength: 100, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialDescription", |
|||
table: "SUPPLIER_RETURN", |
|||
type: "nvarchar(100)", |
|||
maxLength: 100, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialDescription", |
|||
table: "SUPPLIER_PRO_TSCHEDUL", |
|||
type: "nvarchar(100)", |
|||
maxLength: 100, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialDescription", |
|||
table: "SUPPLIER_PRO_HSCHEDUL", |
|||
type: "nvarchar(100)", |
|||
maxLength: 100, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialDescription", |
|||
table: "SUPPLIER_PRO_CSCHEDUL", |
|||
type: "nvarchar(100)", |
|||
maxLength: 100, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialDescription", |
|||
table: "SUPPLIER_PO", |
|||
type: "nvarchar(100)", |
|||
maxLength: 100, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialDescription", |
|||
table: "SUPPLIER_MRP_WARNING", |
|||
type: "nvarchar(100)", |
|||
maxLength: 100, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialDescription", |
|||
table: "SUPPLIER_MRP_STATE", |
|||
type: "nvarchar(100)", |
|||
maxLength: 100, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialDescription", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "nvarchar(100)", |
|||
maxLength: 100, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialDescription", |
|||
table: "SUPPLIER_MRP_DATE", |
|||
type: "nvarchar(100)", |
|||
maxLength: 100, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialDescription", |
|||
table: "SUPPLIER_INV_DATA", |
|||
type: "nvarchar(100)", |
|||
maxLength: 100, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialDescription", |
|||
table: "SUPPLIER_DEL_STATE", |
|||
type: "nvarchar(100)", |
|||
maxLength: 100, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_SINV_DATA_ReadState", |
|||
table: "SUPPLIER_SINV_DATA", |
|||
column: "ReadState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_SINV_DATA_TaskId", |
|||
table: "SUPPLIER_SINV_DATA", |
|||
column: "TaskId"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_SINV_DATA_WriteState", |
|||
table: "SUPPLIER_SINV_DATA", |
|||
column: "WriteState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_SA_WEEK_ReadState", |
|||
table: "SUPPLIER_SA_WEEK", |
|||
column: "ReadState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_SA_WEEK_TaskId", |
|||
table: "SUPPLIER_SA_WEEK", |
|||
column: "TaskId"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_SA_WEEK_WriteState", |
|||
table: "SUPPLIER_SA_WEEK", |
|||
column: "WriteState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_RETURN_ReadState", |
|||
table: "SUPPLIER_RETURN", |
|||
column: "ReadState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_RETURN_TaskId", |
|||
table: "SUPPLIER_RETURN", |
|||
column: "TaskId"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_RETURN_WriteState", |
|||
table: "SUPPLIER_RETURN", |
|||
column: "WriteState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_TSCHEDUL_ReadState", |
|||
table: "SUPPLIER_PRO_TSCHEDUL", |
|||
column: "ReadState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_TSCHEDUL_TaskId", |
|||
table: "SUPPLIER_PRO_TSCHEDUL", |
|||
column: "TaskId"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_TSCHEDUL_WriteState", |
|||
table: "SUPPLIER_PRO_TSCHEDUL", |
|||
column: "WriteState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_PLANING_ReadState", |
|||
table: "SUPPLIER_PRO_PLANING", |
|||
column: "ReadState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_PLANING_TaskId", |
|||
table: "SUPPLIER_PRO_PLANING", |
|||
column: "TaskId"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_PLANING_WriteState", |
|||
table: "SUPPLIER_PRO_PLANING", |
|||
column: "WriteState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_HSCHEDUL_ReadState", |
|||
table: "SUPPLIER_PRO_HSCHEDUL", |
|||
column: "ReadState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_HSCHEDUL_TaskId", |
|||
table: "SUPPLIER_PRO_HSCHEDUL", |
|||
column: "TaskId"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_HSCHEDUL_WriteState", |
|||
table: "SUPPLIER_PRO_HSCHEDUL", |
|||
column: "WriteState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_CSCHEDUL_ReadState", |
|||
table: "SUPPLIER_PRO_CSCHEDUL", |
|||
column: "ReadState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_CSCHEDUL_TaskId", |
|||
table: "SUPPLIER_PRO_CSCHEDUL", |
|||
column: "TaskId"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_CSCHEDUL_WriteState", |
|||
table: "SUPPLIER_PRO_CSCHEDUL", |
|||
column: "WriteState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PO_ReadState", |
|||
table: "SUPPLIER_PO", |
|||
column: "ReadState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PO_TaskId", |
|||
table: "SUPPLIER_PO", |
|||
column: "TaskId"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PO_WriteState", |
|||
table: "SUPPLIER_PO", |
|||
column: "WriteState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_WARNING_ReadState", |
|||
table: "SUPPLIER_MRP_WARNING", |
|||
column: "ReadState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_WARNING_TaskId", |
|||
table: "SUPPLIER_MRP_WARNING", |
|||
column: "TaskId"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_WARNING_WriteState", |
|||
table: "SUPPLIER_MRP_WARNING", |
|||
column: "WriteState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_STATE_ReadState", |
|||
table: "SUPPLIER_MRP_STATE", |
|||
column: "ReadState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_STATE_TaskId", |
|||
table: "SUPPLIER_MRP_STATE", |
|||
column: "TaskId"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_STATE_WriteState", |
|||
table: "SUPPLIER_MRP_STATE", |
|||
column: "WriteState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_MONTH_ReadState", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
column: "ReadState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_MONTH_TaskId", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
column: "TaskId"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_MONTH_WriteState", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
column: "WriteState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_DATE_ReadState", |
|||
table: "SUPPLIER_MRP_DATE", |
|||
column: "ReadState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_DATE_TaskId", |
|||
table: "SUPPLIER_MRP_DATE", |
|||
column: "TaskId"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_DATE_WriteState", |
|||
table: "SUPPLIER_MRP_DATE", |
|||
column: "WriteState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_INV_DATA_ReadState", |
|||
table: "SUPPLIER_INV_DATA", |
|||
column: "ReadState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_INV_DATA_TaskId", |
|||
table: "SUPPLIER_INV_DATA", |
|||
column: "TaskId"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_INV_DATA_WriteState", |
|||
table: "SUPPLIER_INV_DATA", |
|||
column: "WriteState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_DEL_STATE_ReadState", |
|||
table: "SUPPLIER_DEL_STATE", |
|||
column: "ReadState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_DEL_STATE_TaskId", |
|||
table: "SUPPLIER_DEL_STATE", |
|||
column: "TaskId"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_DEL_STATE_WriteState", |
|||
table: "SUPPLIER_DEL_STATE", |
|||
column: "WriteState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_CON_PO_ReadState", |
|||
table: "SUPPLIER_CON_PO", |
|||
column: "ReadState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_CON_PO_TaskId", |
|||
table: "SUPPLIER_CON_PO", |
|||
column: "TaskId"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_CON_PO_WriteState", |
|||
table: "SUPPLIER_CON_PO", |
|||
column: "WriteState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_CON_MMRP_ReadState", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
column: "ReadState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_CON_MMRP_TaskId", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
column: "TaskId"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_CON_MMRP_WriteState", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
column: "WriteState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_CON_DATE_ReadState", |
|||
table: "SUPPLIER_CON_DATE", |
|||
column: "ReadState"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_CON_DATE_TaskId", |
|||
table: "SUPPLIER_CON_DATE", |
|||
column: "TaskId"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_CON_DATE_WriteState", |
|||
table: "SUPPLIER_CON_DATE", |
|||
column: "WriteState"); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_SINV_DATA_ReadState", |
|||
table: "SUPPLIER_SINV_DATA"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_SINV_DATA_TaskId", |
|||
table: "SUPPLIER_SINV_DATA"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_SINV_DATA_WriteState", |
|||
table: "SUPPLIER_SINV_DATA"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_SA_WEEK_ReadState", |
|||
table: "SUPPLIER_SA_WEEK"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_SA_WEEK_TaskId", |
|||
table: "SUPPLIER_SA_WEEK"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_SA_WEEK_WriteState", |
|||
table: "SUPPLIER_SA_WEEK"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_RETURN_ReadState", |
|||
table: "SUPPLIER_RETURN"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_RETURN_TaskId", |
|||
table: "SUPPLIER_RETURN"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_RETURN_WriteState", |
|||
table: "SUPPLIER_RETURN"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_TSCHEDUL_ReadState", |
|||
table: "SUPPLIER_PRO_TSCHEDUL"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_TSCHEDUL_TaskId", |
|||
table: "SUPPLIER_PRO_TSCHEDUL"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_TSCHEDUL_WriteState", |
|||
table: "SUPPLIER_PRO_TSCHEDUL"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_PLANING_ReadState", |
|||
table: "SUPPLIER_PRO_PLANING"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_PLANING_TaskId", |
|||
table: "SUPPLIER_PRO_PLANING"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_PLANING_WriteState", |
|||
table: "SUPPLIER_PRO_PLANING"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_HSCHEDUL_ReadState", |
|||
table: "SUPPLIER_PRO_HSCHEDUL"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_HSCHEDUL_TaskId", |
|||
table: "SUPPLIER_PRO_HSCHEDUL"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_HSCHEDUL_WriteState", |
|||
table: "SUPPLIER_PRO_HSCHEDUL"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_CSCHEDUL_ReadState", |
|||
table: "SUPPLIER_PRO_CSCHEDUL"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_CSCHEDUL_TaskId", |
|||
table: "SUPPLIER_PRO_CSCHEDUL"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_CSCHEDUL_WriteState", |
|||
table: "SUPPLIER_PRO_CSCHEDUL"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PO_ReadState", |
|||
table: "SUPPLIER_PO"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PO_TaskId", |
|||
table: "SUPPLIER_PO"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PO_WriteState", |
|||
table: "SUPPLIER_PO"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_WARNING_ReadState", |
|||
table: "SUPPLIER_MRP_WARNING"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_WARNING_TaskId", |
|||
table: "SUPPLIER_MRP_WARNING"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_WARNING_WriteState", |
|||
table: "SUPPLIER_MRP_WARNING"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_STATE_ReadState", |
|||
table: "SUPPLIER_MRP_STATE"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_STATE_TaskId", |
|||
table: "SUPPLIER_MRP_STATE"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_STATE_WriteState", |
|||
table: "SUPPLIER_MRP_STATE"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_MONTH_ReadState", |
|||
table: "SUPPLIER_MRP_MONTH"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_MONTH_TaskId", |
|||
table: "SUPPLIER_MRP_MONTH"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_MONTH_WriteState", |
|||
table: "SUPPLIER_MRP_MONTH"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_DATE_ReadState", |
|||
table: "SUPPLIER_MRP_DATE"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_DATE_TaskId", |
|||
table: "SUPPLIER_MRP_DATE"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_DATE_WriteState", |
|||
table: "SUPPLIER_MRP_DATE"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_INV_DATA_ReadState", |
|||
table: "SUPPLIER_INV_DATA"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_INV_DATA_TaskId", |
|||
table: "SUPPLIER_INV_DATA"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_INV_DATA_WriteState", |
|||
table: "SUPPLIER_INV_DATA"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_DEL_STATE_ReadState", |
|||
table: "SUPPLIER_DEL_STATE"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_DEL_STATE_TaskId", |
|||
table: "SUPPLIER_DEL_STATE"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_DEL_STATE_WriteState", |
|||
table: "SUPPLIER_DEL_STATE"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_CON_PO_ReadState", |
|||
table: "SUPPLIER_CON_PO"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_CON_PO_TaskId", |
|||
table: "SUPPLIER_CON_PO"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_CON_PO_WriteState", |
|||
table: "SUPPLIER_CON_PO"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_CON_MMRP_ReadState", |
|||
table: "SUPPLIER_CON_MMRP"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_CON_MMRP_TaskId", |
|||
table: "SUPPLIER_CON_MMRP"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_CON_MMRP_WriteState", |
|||
table: "SUPPLIER_CON_MMRP"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_CON_DATE_ReadState", |
|||
table: "SUPPLIER_CON_DATE"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_CON_DATE_TaskId", |
|||
table: "SUPPLIER_CON_DATE"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_CON_DATE_WriteState", |
|||
table: "SUPPLIER_CON_DATE"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialDescription", |
|||
table: "SUPPLIER_SA_WEEK", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(100)", |
|||
oldMaxLength: 100, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialDescription", |
|||
table: "SUPPLIER_RETURN", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(100)", |
|||
oldMaxLength: 100, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialDescription", |
|||
table: "SUPPLIER_PRO_TSCHEDUL", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(100)", |
|||
oldMaxLength: 100, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialDescription", |
|||
table: "SUPPLIER_PRO_HSCHEDUL", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(100)", |
|||
oldMaxLength: 100, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialDescription", |
|||
table: "SUPPLIER_PRO_CSCHEDUL", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(100)", |
|||
oldMaxLength: 100, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialDescription", |
|||
table: "SUPPLIER_PO", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(100)", |
|||
oldMaxLength: 100, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialDescription", |
|||
table: "SUPPLIER_MRP_WARNING", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(100)", |
|||
oldMaxLength: 100, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialDescription", |
|||
table: "SUPPLIER_MRP_STATE", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(100)", |
|||
oldMaxLength: 100, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialDescription", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(100)", |
|||
oldMaxLength: 100, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialDescription", |
|||
table: "SUPPLIER_MRP_DATE", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(100)", |
|||
oldMaxLength: 100, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialDescription", |
|||
table: "SUPPLIER_INV_DATA", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(100)", |
|||
oldMaxLength: 100, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "MaterialDescription", |
|||
table: "SUPPLIER_DEL_STATE", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(100)", |
|||
oldMaxLength: 100, |
|||
oldNullable: true); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
File diff suppressed because it is too large
File diff suppressed because it is too large
@ -1,921 +0,0 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z202506170001 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_SINV_DATA_LOGS_Id", |
|||
table: "SUPPLIER_SINV_DATA_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_SINV_DATA_Id", |
|||
table: "SUPPLIER_SINV_DATA"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_SA_WEEK_LOGS_Id", |
|||
table: "SUPPLIER_SA_WEEK_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_SA_WEEK_Id", |
|||
table: "SUPPLIER_SA_WEEK"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_RETURN_LOGS_Id", |
|||
table: "SUPPLIER_RETURN_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_RETURN_Id", |
|||
table: "SUPPLIER_RETURN"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_TSCHEDUL_LOGS_Id", |
|||
table: "SUPPLIER_PRO_TSCHEDUL_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_TSCHEDUL_Id", |
|||
table: "SUPPLIER_PRO_TSCHEDUL"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_PLANING_LOGS_Id", |
|||
table: "SUPPLIER_PRO_PLANING_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_PLANING_Id", |
|||
table: "SUPPLIER_PRO_PLANING"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_HSCHEDUL_LOGS_Id", |
|||
table: "SUPPLIER_PRO_HSCHEDUL_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_HSCHEDUL_Id", |
|||
table: "SUPPLIER_PRO_HSCHEDUL"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_CSCHEDUL_LOGS_Id", |
|||
table: "SUPPLIER_PRO_CSCHEDUL_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_CSCHEDUL_Id", |
|||
table: "SUPPLIER_PRO_CSCHEDUL"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PO_LOGS_Id", |
|||
table: "SUPPLIER_PO_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PO_Id", |
|||
table: "SUPPLIER_PO"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_WARNING_Id", |
|||
table: "SUPPLIER_MRP_WARNING"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_STATE_LOGS_Id", |
|||
table: "SUPPLIER_MRP_STATE_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_STATE_Id", |
|||
table: "SUPPLIER_MRP_STATE"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_MONTH_LOGS_Id", |
|||
table: "SUPPLIER_MRP_MONTH_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_MONTH_Id", |
|||
table: "SUPPLIER_MRP_MONTH"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_DATE_LOGS_Id", |
|||
table: "SUPPLIER_MRP_DATE_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_DATE_Id", |
|||
table: "SUPPLIER_MRP_DATE"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_INV_DATA_LOGS_Id", |
|||
table: "SUPPLIER_INV_DATA_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_INV_DATA_Id", |
|||
table: "SUPPLIER_INV_DATA"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_DEL_STATE_LOGS_Id", |
|||
table: "SUPPLIER_DEL_STATE_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_DEL_STATE_Id", |
|||
table: "SUPPLIER_DEL_STATE"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_CON_PO_LOGS_Id", |
|||
table: "SUPPLIER_CON_PO_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_CON_PO_Id", |
|||
table: "SUPPLIER_CON_PO"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_CON_MMRP_LOGS_Id", |
|||
table: "SUPPLIER_CON_MMRP_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_CON_MMRP_Id", |
|||
table: "SUPPLIER_CON_MMRP"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_CON_DATE_LOGS_Id", |
|||
table: "SUPPLIER_CON_DATE_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_CON_DATE_Id", |
|||
table: "SUPPLIER_CON_DATE"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_SINV_DATA_LOGS_Id", |
|||
table: "SUPPLIER_SINV_DATA_LOGS", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_SINV_DATA_LOGS_RequestDate", |
|||
table: "SUPPLIER_SINV_DATA_LOGS", |
|||
column: "RequestDate"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_SINV_DATA_Id", |
|||
table: "SUPPLIER_SINV_DATA", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_SINV_DATA_RequestDate", |
|||
table: "SUPPLIER_SINV_DATA", |
|||
column: "RequestDate"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_SA_WEEK_LOGS_Id", |
|||
table: "SUPPLIER_SA_WEEK_LOGS", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_SA_WEEK_LOGS_RequestDate", |
|||
table: "SUPPLIER_SA_WEEK_LOGS", |
|||
column: "RequestDate"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_SA_WEEK_Id", |
|||
table: "SUPPLIER_SA_WEEK", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_SA_WEEK_RequestDate", |
|||
table: "SUPPLIER_SA_WEEK", |
|||
column: "RequestDate"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_RETURN_LOGS_Id", |
|||
table: "SUPPLIER_RETURN_LOGS", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_RETURN_LOGS_RequestDate", |
|||
table: "SUPPLIER_RETURN_LOGS", |
|||
column: "RequestDate"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_RETURN_Id", |
|||
table: "SUPPLIER_RETURN", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_RETURN_RequestDate", |
|||
table: "SUPPLIER_RETURN", |
|||
column: "RequestDate"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_TSCHEDUL_LOGS_Id", |
|||
table: "SUPPLIER_PRO_TSCHEDUL_LOGS", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_TSCHEDUL_LOGS_RequestDate", |
|||
table: "SUPPLIER_PRO_TSCHEDUL_LOGS", |
|||
column: "RequestDate"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_TSCHEDUL_Id", |
|||
table: "SUPPLIER_PRO_TSCHEDUL", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_TSCHEDUL_RequestDate", |
|||
table: "SUPPLIER_PRO_TSCHEDUL", |
|||
column: "RequestDate"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_PLANING_LOGS_Id", |
|||
table: "SUPPLIER_PRO_PLANING_LOGS", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_PLANING_LOGS_RequestDate", |
|||
table: "SUPPLIER_PRO_PLANING_LOGS", |
|||
column: "RequestDate"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_PLANING_Id", |
|||
table: "SUPPLIER_PRO_PLANING", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_PLANING_RequestDate", |
|||
table: "SUPPLIER_PRO_PLANING", |
|||
column: "RequestDate"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_HSCHEDUL_LOGS_Id", |
|||
table: "SUPPLIER_PRO_HSCHEDUL_LOGS", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_HSCHEDUL_LOGS_RequestDate", |
|||
table: "SUPPLIER_PRO_HSCHEDUL_LOGS", |
|||
column: "RequestDate"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_HSCHEDUL_Id", |
|||
table: "SUPPLIER_PRO_HSCHEDUL", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_HSCHEDUL_RequestDate", |
|||
table: "SUPPLIER_PRO_HSCHEDUL", |
|||
column: "RequestDate"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_CSCHEDUL_LOGS_Id", |
|||
table: "SUPPLIER_PRO_CSCHEDUL_LOGS", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_CSCHEDUL_LOGS_RequestDate", |
|||
table: "SUPPLIER_PRO_CSCHEDUL_LOGS", |
|||
column: "RequestDate"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_CSCHEDUL_Id", |
|||
table: "SUPPLIER_PRO_CSCHEDUL", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_CSCHEDUL_RequestDate", |
|||
table: "SUPPLIER_PRO_CSCHEDUL", |
|||
column: "RequestDate"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PO_LOGS_Id", |
|||
table: "SUPPLIER_PO_LOGS", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PO_LOGS_RequestDate", |
|||
table: "SUPPLIER_PO_LOGS", |
|||
column: "RequestDate"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PO_Id", |
|||
table: "SUPPLIER_PO", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PO_RequestDate", |
|||
table: "SUPPLIER_PO", |
|||
column: "RequestDate"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_WARNING_Id", |
|||
table: "SUPPLIER_MRP_WARNING", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_WARNING_RequestDate", |
|||
table: "SUPPLIER_MRP_WARNING", |
|||
column: "RequestDate"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_STATE_LOGS_Id", |
|||
table: "SUPPLIER_MRP_STATE_LOGS", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_STATE_LOGS_RequestDate", |
|||
table: "SUPPLIER_MRP_STATE_LOGS", |
|||
column: "RequestDate"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_STATE_Id", |
|||
table: "SUPPLIER_MRP_STATE", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_STATE_RequestDate", |
|||
table: "SUPPLIER_MRP_STATE", |
|||
column: "RequestDate"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_MONTH_LOGS_Id", |
|||
table: "SUPPLIER_MRP_MONTH_LOGS", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_MONTH_LOGS_RequestDate", |
|||
table: "SUPPLIER_MRP_MONTH_LOGS", |
|||
column: "RequestDate"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_MONTH_Id", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_MONTH_RequestDate", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
column: "RequestDate"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_DATE_LOGS_Id", |
|||
table: "SUPPLIER_MRP_DATE_LOGS", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_DATE_LOGS_RequestDate", |
|||
table: "SUPPLIER_MRP_DATE_LOGS", |
|||
column: "RequestDate"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_DATE_Id", |
|||
table: "SUPPLIER_MRP_DATE", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_DATE_RequestDate", |
|||
table: "SUPPLIER_MRP_DATE", |
|||
column: "RequestDate"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_INV_DATA_LOGS_Id", |
|||
table: "SUPPLIER_INV_DATA_LOGS", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_INV_DATA_LOGS_RequestDate", |
|||
table: "SUPPLIER_INV_DATA_LOGS", |
|||
column: "RequestDate"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_INV_DATA_Id", |
|||
table: "SUPPLIER_INV_DATA", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_INV_DATA_RequestDate", |
|||
table: "SUPPLIER_INV_DATA", |
|||
column: "RequestDate"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_DEL_STATE_LOGS_Id", |
|||
table: "SUPPLIER_DEL_STATE_LOGS", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_DEL_STATE_LOGS_RequestDate", |
|||
table: "SUPPLIER_DEL_STATE_LOGS", |
|||
column: "RequestDate"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_DEL_STATE_Id", |
|||
table: "SUPPLIER_DEL_STATE", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_DEL_STATE_RequestDate", |
|||
table: "SUPPLIER_DEL_STATE", |
|||
column: "RequestDate"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_CON_PO_LOGS_Id", |
|||
table: "SUPPLIER_CON_PO_LOGS", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_CON_PO_Id", |
|||
table: "SUPPLIER_CON_PO", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_CON_MMRP_LOGS_Id", |
|||
table: "SUPPLIER_CON_MMRP_LOGS", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_CON_MMRP_Id", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_CON_DATE_LOGS_Id", |
|||
table: "SUPPLIER_CON_DATE_LOGS", |
|||
column: "Id"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_CON_DATE_Id", |
|||
table: "SUPPLIER_CON_DATE", |
|||
column: "Id"); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_SINV_DATA_LOGS_Id", |
|||
table: "SUPPLIER_SINV_DATA_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_SINV_DATA_LOGS_RequestDate", |
|||
table: "SUPPLIER_SINV_DATA_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_SINV_DATA_Id", |
|||
table: "SUPPLIER_SINV_DATA"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_SINV_DATA_RequestDate", |
|||
table: "SUPPLIER_SINV_DATA"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_SA_WEEK_LOGS_Id", |
|||
table: "SUPPLIER_SA_WEEK_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_SA_WEEK_LOGS_RequestDate", |
|||
table: "SUPPLIER_SA_WEEK_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_SA_WEEK_Id", |
|||
table: "SUPPLIER_SA_WEEK"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_SA_WEEK_RequestDate", |
|||
table: "SUPPLIER_SA_WEEK"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_RETURN_LOGS_Id", |
|||
table: "SUPPLIER_RETURN_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_RETURN_LOGS_RequestDate", |
|||
table: "SUPPLIER_RETURN_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_RETURN_Id", |
|||
table: "SUPPLIER_RETURN"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_RETURN_RequestDate", |
|||
table: "SUPPLIER_RETURN"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_TSCHEDUL_LOGS_Id", |
|||
table: "SUPPLIER_PRO_TSCHEDUL_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_TSCHEDUL_LOGS_RequestDate", |
|||
table: "SUPPLIER_PRO_TSCHEDUL_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_TSCHEDUL_Id", |
|||
table: "SUPPLIER_PRO_TSCHEDUL"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_TSCHEDUL_RequestDate", |
|||
table: "SUPPLIER_PRO_TSCHEDUL"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_PLANING_LOGS_Id", |
|||
table: "SUPPLIER_PRO_PLANING_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_PLANING_LOGS_RequestDate", |
|||
table: "SUPPLIER_PRO_PLANING_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_PLANING_Id", |
|||
table: "SUPPLIER_PRO_PLANING"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_PLANING_RequestDate", |
|||
table: "SUPPLIER_PRO_PLANING"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_HSCHEDUL_LOGS_Id", |
|||
table: "SUPPLIER_PRO_HSCHEDUL_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_HSCHEDUL_LOGS_RequestDate", |
|||
table: "SUPPLIER_PRO_HSCHEDUL_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_HSCHEDUL_Id", |
|||
table: "SUPPLIER_PRO_HSCHEDUL"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_HSCHEDUL_RequestDate", |
|||
table: "SUPPLIER_PRO_HSCHEDUL"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_CSCHEDUL_LOGS_Id", |
|||
table: "SUPPLIER_PRO_CSCHEDUL_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_CSCHEDUL_LOGS_RequestDate", |
|||
table: "SUPPLIER_PRO_CSCHEDUL_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_CSCHEDUL_Id", |
|||
table: "SUPPLIER_PRO_CSCHEDUL"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PRO_CSCHEDUL_RequestDate", |
|||
table: "SUPPLIER_PRO_CSCHEDUL"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PO_LOGS_Id", |
|||
table: "SUPPLIER_PO_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PO_LOGS_RequestDate", |
|||
table: "SUPPLIER_PO_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PO_Id", |
|||
table: "SUPPLIER_PO"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_PO_RequestDate", |
|||
table: "SUPPLIER_PO"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_WARNING_Id", |
|||
table: "SUPPLIER_MRP_WARNING"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_WARNING_RequestDate", |
|||
table: "SUPPLIER_MRP_WARNING"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_STATE_LOGS_Id", |
|||
table: "SUPPLIER_MRP_STATE_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_STATE_LOGS_RequestDate", |
|||
table: "SUPPLIER_MRP_STATE_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_STATE_Id", |
|||
table: "SUPPLIER_MRP_STATE"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_STATE_RequestDate", |
|||
table: "SUPPLIER_MRP_STATE"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_MONTH_LOGS_Id", |
|||
table: "SUPPLIER_MRP_MONTH_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_MONTH_LOGS_RequestDate", |
|||
table: "SUPPLIER_MRP_MONTH_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_MONTH_Id", |
|||
table: "SUPPLIER_MRP_MONTH"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_MONTH_RequestDate", |
|||
table: "SUPPLIER_MRP_MONTH"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_DATE_LOGS_Id", |
|||
table: "SUPPLIER_MRP_DATE_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_DATE_LOGS_RequestDate", |
|||
table: "SUPPLIER_MRP_DATE_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_DATE_Id", |
|||
table: "SUPPLIER_MRP_DATE"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_MRP_DATE_RequestDate", |
|||
table: "SUPPLIER_MRP_DATE"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_INV_DATA_LOGS_Id", |
|||
table: "SUPPLIER_INV_DATA_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_INV_DATA_LOGS_RequestDate", |
|||
table: "SUPPLIER_INV_DATA_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_INV_DATA_Id", |
|||
table: "SUPPLIER_INV_DATA"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_INV_DATA_RequestDate", |
|||
table: "SUPPLIER_INV_DATA"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_DEL_STATE_LOGS_Id", |
|||
table: "SUPPLIER_DEL_STATE_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_DEL_STATE_LOGS_RequestDate", |
|||
table: "SUPPLIER_DEL_STATE_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_DEL_STATE_Id", |
|||
table: "SUPPLIER_DEL_STATE"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_DEL_STATE_RequestDate", |
|||
table: "SUPPLIER_DEL_STATE"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_CON_PO_LOGS_Id", |
|||
table: "SUPPLIER_CON_PO_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_CON_PO_Id", |
|||
table: "SUPPLIER_CON_PO"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_CON_MMRP_LOGS_Id", |
|||
table: "SUPPLIER_CON_MMRP_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_CON_MMRP_Id", |
|||
table: "SUPPLIER_CON_MMRP"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_CON_DATE_LOGS_Id", |
|||
table: "SUPPLIER_CON_DATE_LOGS"); |
|||
|
|||
migrationBuilder.DropIndex( |
|||
name: "IX_SUPPLIER_CON_DATE_Id", |
|||
table: "SUPPLIER_CON_DATE"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_SINV_DATA_LOGS_Id", |
|||
table: "SUPPLIER_SINV_DATA_LOGS", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_SINV_DATA_Id", |
|||
table: "SUPPLIER_SINV_DATA", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_SA_WEEK_LOGS_Id", |
|||
table: "SUPPLIER_SA_WEEK_LOGS", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_SA_WEEK_Id", |
|||
table: "SUPPLIER_SA_WEEK", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_RETURN_LOGS_Id", |
|||
table: "SUPPLIER_RETURN_LOGS", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_RETURN_Id", |
|||
table: "SUPPLIER_RETURN", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_TSCHEDUL_LOGS_Id", |
|||
table: "SUPPLIER_PRO_TSCHEDUL_LOGS", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_TSCHEDUL_Id", |
|||
table: "SUPPLIER_PRO_TSCHEDUL", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_PLANING_LOGS_Id", |
|||
table: "SUPPLIER_PRO_PLANING_LOGS", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_PLANING_Id", |
|||
table: "SUPPLIER_PRO_PLANING", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_HSCHEDUL_LOGS_Id", |
|||
table: "SUPPLIER_PRO_HSCHEDUL_LOGS", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_HSCHEDUL_Id", |
|||
table: "SUPPLIER_PRO_HSCHEDUL", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_CSCHEDUL_LOGS_Id", |
|||
table: "SUPPLIER_PRO_CSCHEDUL_LOGS", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PRO_CSCHEDUL_Id", |
|||
table: "SUPPLIER_PRO_CSCHEDUL", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PO_LOGS_Id", |
|||
table: "SUPPLIER_PO_LOGS", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_PO_Id", |
|||
table: "SUPPLIER_PO", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_WARNING_Id", |
|||
table: "SUPPLIER_MRP_WARNING", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_STATE_LOGS_Id", |
|||
table: "SUPPLIER_MRP_STATE_LOGS", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_STATE_Id", |
|||
table: "SUPPLIER_MRP_STATE", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_MONTH_LOGS_Id", |
|||
table: "SUPPLIER_MRP_MONTH_LOGS", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_MONTH_Id", |
|||
table: "SUPPLIER_MRP_MONTH", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_DATE_LOGS_Id", |
|||
table: "SUPPLIER_MRP_DATE_LOGS", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_MRP_DATE_Id", |
|||
table: "SUPPLIER_MRP_DATE", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_INV_DATA_LOGS_Id", |
|||
table: "SUPPLIER_INV_DATA_LOGS", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_INV_DATA_Id", |
|||
table: "SUPPLIER_INV_DATA", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_DEL_STATE_LOGS_Id", |
|||
table: "SUPPLIER_DEL_STATE_LOGS", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_DEL_STATE_Id", |
|||
table: "SUPPLIER_DEL_STATE", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_CON_PO_LOGS_Id", |
|||
table: "SUPPLIER_CON_PO_LOGS", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_CON_PO_Id", |
|||
table: "SUPPLIER_CON_PO", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_CON_MMRP_LOGS_Id", |
|||
table: "SUPPLIER_CON_MMRP_LOGS", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_CON_MMRP_Id", |
|||
table: "SUPPLIER_CON_MMRP", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_CON_DATE_LOGS_Id", |
|||
table: "SUPPLIER_CON_DATE_LOGS", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_SUPPLIER_CON_DATE_Id", |
|||
table: "SUPPLIER_CON_DATE", |
|||
column: "Id", |
|||
unique: true, |
|||
filter: "[Id] IS NOT NULL"); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -1,38 +0,0 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z202506170002 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AddColumn<string>( |
|||
name: "Module", |
|||
table: "TaskLogs", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_TaskLogs_Module", |
|||
table: "TaskLogs", |
|||
column: "Module"); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropIndex( |
|||
name: "IX_TaskLogs_Module", |
|||
table: "TaskLogs"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "Module", |
|||
table: "TaskLogs"); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
File diff suppressed because it is too large
File diff suppressed because it is too large
@ -1,38 +0,0 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z202506200001 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "FailedInfo", |
|||
table: "TaskSub", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "FailedInfo", |
|||
table: "TaskSub", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -1,60 +0,0 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z202506200002 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "TaskName", |
|||
table: "TaskSub", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(30)", |
|||
oldMaxLength: 30, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Type", |
|||
table: "SUPPLIER_PRO_MATERIAL_DATA", |
|||
type: "VARCHAR(50)", |
|||
maxLength: 50, |
|||
nullable: false, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "DECIMAL(1,0)", |
|||
oldPrecision: 1); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "TaskName", |
|||
table: "TaskSub", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "Type", |
|||
table: "SUPPLIER_PRO_MATERIAL_DATA", |
|||
type: "DECIMAL(1,0)", |
|||
precision: 1, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(50)", |
|||
oldMaxLength: 50); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -1,22 +0,0 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z202506200003 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
|
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
|
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -1,101 +0,0 @@ |
|||
using System; |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z202506240001 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
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<string>( |
|||
name: "DeadLine", |
|||
table: "SUPPLIER_PRO_MATERIAL_STOCK", |
|||
type: "VARCHAR(30)", |
|||
maxLength: 30, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(10)", |
|||
oldMaxLength: 10); |
|||
|
|||
migrationBuilder.CreateTable( |
|||
name: "DynamicTableRecords", |
|||
columns: table => new |
|||
{ |
|||
UId = table.Column<long>(type: "bigint", nullable: false) |
|||
.Annotation("SqlServer:Identity", "1, 1"), |
|||
TableId = table.Column<long>(type: "bigint", nullable: false), |
|||
RecordJson = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|||
WriteState = table.Column<bool>(type: "bit", nullable: false), |
|||
ReadState = table.Column<bool>(type: "bit", nullable: false), |
|||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|||
Remark = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|||
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_DynamicTableRecords", x => x.UId); |
|||
}); |
|||
|
|||
migrationBuilder.CreateTable( |
|||
name: "DynamicTables", |
|||
columns: table => new |
|||
{ |
|||
UId = table.Column<long>(type: "bigint", nullable: false) |
|||
.Annotation("SqlServer:Identity", "1, 1"), |
|||
TableName = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|||
SchemaJson = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|||
WriteState = table.Column<bool>(type: "bit", nullable: false), |
|||
ReadState = table.Column<bool>(type: "bit", nullable: false), |
|||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|||
Remark = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|||
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_DynamicTables", x => x.UId); |
|||
}); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropTable( |
|||
name: "DynamicTableRecords"); |
|||
|
|||
migrationBuilder.DropTable( |
|||
name: "DynamicTables"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "TaskLogs", |
|||
type: "datetime2", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "datetime2"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "DeadLine", |
|||
table: "SUPPLIER_PRO_MATERIAL_STOCK", |
|||
type: "VARCHAR(10)", |
|||
maxLength: 10, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(30)", |
|||
oldMaxLength: 30); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -1,279 +0,0 @@ |
|||
using System; |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z20250620001 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "DataUpdateTime", |
|||
table: "SUPPLIER_SINV_DATA", |
|||
type: "VarChar(30)", |
|||
maxLength: 30, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "CHAR(19)", |
|||
oldMaxLength: 19); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "ValidDays", |
|||
table: "SUPPLIER_PRO_MATERIAL_DATA", |
|||
type: "VARCHAR(12)", |
|||
maxLength: 12, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "CHAR(12)", |
|||
oldMaxLength: 12); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "DataUpdateTime", |
|||
table: "SUPPLIER_INFO_LOGS", |
|||
type: "datetime2", |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "CHAR(19)", |
|||
oldMaxLength: 19); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "DataUpdateTime", |
|||
table: "SUPPLIER_INFO_DT", |
|||
type: "datetime2", |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "CHAR(19)", |
|||
oldMaxLength: 19); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "DataUpdateTime", |
|||
table: "SUPPLIER_INFO", |
|||
type: "datetime2", |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "CHAR(19)", |
|||
oldMaxLength: 19); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "DataUpdateTime", |
|||
table: "SUPPLIER_EMPLOYEE_LOGS", |
|||
type: "datetime2", |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "CHAR(19)", |
|||
oldMaxLength: 19); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CheckOutTime", |
|||
table: "SUPPLIER_EMPLOYEE_LOGS", |
|||
type: "datetime2", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "CHAR(19)", |
|||
oldMaxLength: 19); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CheckInTime", |
|||
table: "SUPPLIER_EMPLOYEE_LOGS", |
|||
type: "datetime2", |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "CHAR(19)", |
|||
oldMaxLength: 19); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "DataUpdateTime", |
|||
table: "SUPPLIER_EMPLOYEE_DT", |
|||
type: "datetime2", |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "CHAR(19)", |
|||
oldMaxLength: 19); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CheckOutTime", |
|||
table: "SUPPLIER_EMPLOYEE_DT", |
|||
type: "datetime2", |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "CHAR(19)", |
|||
oldMaxLength: 19); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CheckInTime", |
|||
table: "SUPPLIER_EMPLOYEE_DT", |
|||
type: "datetime2", |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "CHAR(19)", |
|||
oldMaxLength: 19); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "DataUpdateTime", |
|||
table: "SUPPLIER_EMPLOYEE", |
|||
type: "datetime2", |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "CHAR(19)", |
|||
oldMaxLength: 19); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CheckOutTime", |
|||
table: "SUPPLIER_EMPLOYEE", |
|||
type: "datetime2", |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "CHAR(19)", |
|||
oldMaxLength: 19); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CheckInTime", |
|||
table: "SUPPLIER_EMPLOYEE", |
|||
type: "datetime2", |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "CHAR(19)", |
|||
oldMaxLength: 19); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "DataUpdateTime", |
|||
table: "SUPPLIER_SINV_DATA", |
|||
type: "CHAR(19)", |
|||
maxLength: 19, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "VarChar(30)", |
|||
oldMaxLength: 30); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "ValidDays", |
|||
table: "SUPPLIER_PRO_MATERIAL_DATA", |
|||
type: "CHAR(12)", |
|||
maxLength: 12, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(12)", |
|||
oldMaxLength: 12); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "DataUpdateTime", |
|||
table: "SUPPLIER_INFO_LOGS", |
|||
type: "CHAR(19)", |
|||
maxLength: 19, |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "datetime2"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "DataUpdateTime", |
|||
table: "SUPPLIER_INFO_DT", |
|||
type: "CHAR(19)", |
|||
maxLength: 19, |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "datetime2"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "DataUpdateTime", |
|||
table: "SUPPLIER_INFO", |
|||
type: "CHAR(19)", |
|||
maxLength: 19, |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "datetime2"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "DataUpdateTime", |
|||
table: "SUPPLIER_EMPLOYEE_LOGS", |
|||
type: "CHAR(19)", |
|||
maxLength: 19, |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "datetime2"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "CheckOutTime", |
|||
table: "SUPPLIER_EMPLOYEE_LOGS", |
|||
type: "CHAR(19)", |
|||
maxLength: 19, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "datetime2", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "CheckInTime", |
|||
table: "SUPPLIER_EMPLOYEE_LOGS", |
|||
type: "CHAR(19)", |
|||
maxLength: 19, |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "datetime2"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "DataUpdateTime", |
|||
table: "SUPPLIER_EMPLOYEE_DT", |
|||
type: "CHAR(19)", |
|||
maxLength: 19, |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "datetime2"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "CheckOutTime", |
|||
table: "SUPPLIER_EMPLOYEE_DT", |
|||
type: "CHAR(19)", |
|||
maxLength: 19, |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "datetime2"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "CheckInTime", |
|||
table: "SUPPLIER_EMPLOYEE_DT", |
|||
type: "CHAR(19)", |
|||
maxLength: 19, |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "datetime2"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "DataUpdateTime", |
|||
table: "SUPPLIER_EMPLOYEE", |
|||
type: "CHAR(19)", |
|||
maxLength: 19, |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "datetime2"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "CheckOutTime", |
|||
table: "SUPPLIER_EMPLOYEE", |
|||
type: "CHAR(19)", |
|||
maxLength: 19, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "datetime2", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "CheckInTime", |
|||
table: "SUPPLIER_EMPLOYEE", |
|||
type: "CHAR(19)", |
|||
maxLength: 19, |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "datetime2"); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -1,22 +0,0 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z202506270001 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
|
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
|
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -1,267 +0,0 @@ |
|||
using System; |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z202506270002 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "ProductionDate", |
|||
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT_LOGS", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "CHAR(16)", |
|||
oldMaxLength: 16); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "CalibrationDueDays", |
|||
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT_LOGS", |
|||
type: "VARCHAR(12)", |
|||
maxLength: 12, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "CHAR(12)", |
|||
oldMaxLength: 12); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "CalibrationDate", |
|||
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT_LOGS", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "CHAR(19)", |
|||
oldMaxLength: 19); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "ProductionDate", |
|||
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT_DT", |
|||
type: "datetime2", |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "CHAR(16)", |
|||
oldMaxLength: 16); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "CalibrationDueDays", |
|||
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT_DT", |
|||
type: "VARCHAR(12)", |
|||
maxLength: 12, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "CHAR(12)", |
|||
oldMaxLength: 12); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CalibrationDate", |
|||
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT_DT", |
|||
type: "datetime2", |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "CHAR(19)", |
|||
oldMaxLength: 19); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "ProductionDate", |
|||
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT", |
|||
type: "datetime2", |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "CHAR(16)", |
|||
oldMaxLength: 16); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "DeviceStatus", |
|||
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT", |
|||
type: "VARCHAR(30)", |
|||
maxLength: 30, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(16)", |
|||
oldMaxLength: 16); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "DesignLifeValue", |
|||
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(16)", |
|||
oldMaxLength: 16); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "DesignLifeUnits", |
|||
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(16)", |
|||
oldMaxLength: 16); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "CurrentUsageCount", |
|||
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(16)", |
|||
oldMaxLength: 16); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "CalibrationDueDays", |
|||
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT", |
|||
type: "VARCHAR(32)", |
|||
maxLength: 32, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "CHAR(12)", |
|||
oldMaxLength: 12); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CalibrationDate", |
|||
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT", |
|||
type: "datetime2", |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "CHAR(19)", |
|||
oldMaxLength: 19); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "ProductionDate", |
|||
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT_LOGS", |
|||
type: "CHAR(16)", |
|||
maxLength: 16, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "CalibrationDueDays", |
|||
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT_LOGS", |
|||
type: "CHAR(12)", |
|||
maxLength: 12, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(12)", |
|||
oldMaxLength: 12); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "CalibrationDate", |
|||
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT_LOGS", |
|||
type: "CHAR(19)", |
|||
maxLength: 19, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "ProductionDate", |
|||
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT_DT", |
|||
type: "CHAR(16)", |
|||
maxLength: 16, |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "datetime2"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "CalibrationDueDays", |
|||
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT_DT", |
|||
type: "CHAR(12)", |
|||
maxLength: 12, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(12)", |
|||
oldMaxLength: 12); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "CalibrationDate", |
|||
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT_DT", |
|||
type: "CHAR(19)", |
|||
maxLength: 19, |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "datetime2"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "ProductionDate", |
|||
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT", |
|||
type: "CHAR(16)", |
|||
maxLength: 16, |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "datetime2"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "DeviceStatus", |
|||
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT", |
|||
type: "VARCHAR(16)", |
|||
maxLength: 16, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(30)", |
|||
oldMaxLength: 30); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "DesignLifeValue", |
|||
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT", |
|||
type: "VARCHAR(16)", |
|||
maxLength: 16, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(32)", |
|||
oldMaxLength: 32); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "DesignLifeUnits", |
|||
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT", |
|||
type: "VARCHAR(16)", |
|||
maxLength: 16, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(32)", |
|||
oldMaxLength: 32); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "CurrentUsageCount", |
|||
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT", |
|||
type: "VARCHAR(16)", |
|||
maxLength: 16, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(32)", |
|||
oldMaxLength: 32); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "CalibrationDueDays", |
|||
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT", |
|||
type: "CHAR(12)", |
|||
maxLength: 12, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "VARCHAR(32)", |
|||
oldMaxLength: 32); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "CalibrationDate", |
|||
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT", |
|||
type: "CHAR(19)", |
|||
maxLength: 19, |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "datetime2"); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -1,35 +0,0 @@ |
|||
using System; |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z202506270003 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "ProductionDate", |
|||
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT_LOGS", |
|||
type: "datetime2", |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "ProductionDate", |
|||
table: "SUPPLIER_PRO_PROCESS_EQUIPMENT_LOGS", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "datetime2"); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
File diff suppressed because it is too large
@ -1,6 +1,6 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|||
<PropertyGroup> |
|||
<NameOfLastUsedPublishProfile>D:\QRAPI20250528\API\Wood.Admin.WebApi\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile> |
|||
<NameOfLastUsedPublishProfile>C:\www\API\Wood.Admin.WebApi\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile> |
|||
</PropertyGroup> |
|||
</Project> |
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue