|
|
@ -3,10 +3,10 @@ using Microsoft.EntityFrameworkCore.Migrations; |
|
|
|
|
|
|
|
#nullable disable |
|
|
|
|
|
|
|
namespace CherryTaskManager.Migrations |
|
|
|
namespace TaskManager.EntityFramework.Migrations |
|
|
|
{ |
|
|
|
/// <inheritdoc />
|
|
|
|
public partial class Init : Migration |
|
|
|
public partial class init : Migration |
|
|
|
{ |
|
|
|
/// <inheritdoc />
|
|
|
|
protected override void Up(MigrationBuilder migrationBuilder) |
|
|
@ -20,7 +20,8 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -76,7 +77,8 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -113,7 +115,8 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -137,7 +140,8 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -150,7 +154,6 @@ namespace CherryTaskManager.Migrations |
|
|
|
{ |
|
|
|
UId = table.Column<long>(type: "bigint", nullable: false) |
|
|
|
.Annotation("SqlServer:Identity", "1, 1"), |
|
|
|
Id = table.Column<int>(type: "int", nullable: false), |
|
|
|
DeliveryNumber = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
SerialNumber = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
SerialSrate = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
@ -172,7 +175,10 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|
|
|
RequestDate = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
Id = table.Column<string>(type: "nvarchar(max)", nullable: true) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -188,7 +194,8 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -204,7 +211,8 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -217,7 +225,6 @@ namespace CherryTaskManager.Migrations |
|
|
|
{ |
|
|
|
UId = table.Column<long>(type: "bigint", nullable: false) |
|
|
|
.Annotation("SqlServer:Identity", "1, 1"), |
|
|
|
Id = table.Column<int>(type: "int", nullable: false), |
|
|
|
PlantId = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
PlantName = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
MaterialCode = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
@ -234,7 +241,10 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|
|
|
RequestDate = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
Id = table.Column<string>(type: "nvarchar(max)", nullable: true) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -247,7 +257,6 @@ namespace CherryTaskManager.Migrations |
|
|
|
{ |
|
|
|
UId = table.Column<long>(type: "bigint", nullable: false) |
|
|
|
.Annotation("SqlServer:Identity", "1, 1"), |
|
|
|
Id = table.Column<int>(type: "int", nullable: false), |
|
|
|
ReleaseEdition = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
MaterialCode = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
MaterialDescription = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
@ -295,7 +304,10 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|
|
|
RequestDate = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
Id = table.Column<string>(type: "nvarchar(max)", nullable: true) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -308,7 +320,6 @@ namespace CherryTaskManager.Migrations |
|
|
|
{ |
|
|
|
UId = table.Column<long>(type: "bigint", nullable: false) |
|
|
|
.Annotation("SqlServer:Identity", "1, 1"), |
|
|
|
Id = table.Column<int>(type: "int", nullable: false), |
|
|
|
ReleaseEdition = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
MaterialCode = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
MaterialDescription = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
@ -337,7 +348,10 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|
|
|
RequestDate = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
Id = table.Column<string>(type: "nvarchar(max)", nullable: true) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -350,7 +364,6 @@ namespace CherryTaskManager.Migrations |
|
|
|
{ |
|
|
|
UId = table.Column<long>(type: "bigint", nullable: false) |
|
|
|
.Annotation("SqlServer:Identity", "1, 1"), |
|
|
|
Id = table.Column<int>(type: "int", nullable: false), |
|
|
|
PlantId = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
PlantName = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
DemandSrate = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
@ -379,7 +392,10 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|
|
|
RequestDate = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
Id = table.Column<string>(type: "nvarchar(max)", nullable: true) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -392,7 +408,6 @@ namespace CherryTaskManager.Migrations |
|
|
|
{ |
|
|
|
UId = table.Column<long>(type: "bigint", nullable: false) |
|
|
|
.Annotation("SqlServer:Identity", "1, 1"), |
|
|
|
Id = table.Column<int>(type: "int", nullable: false), |
|
|
|
PurchaseOrder = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
SerialNumber = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
PlantId = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
@ -421,7 +436,10 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|
|
|
RequestDate = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
Id = table.Column<string>(type: "nvarchar(max)", nullable: true) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -437,7 +455,8 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -453,7 +472,8 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -466,7 +486,6 @@ namespace CherryTaskManager.Migrations |
|
|
|
{ |
|
|
|
UId = table.Column<long>(type: "bigint", nullable: false) |
|
|
|
.Annotation("SqlServer:Identity", "1, 1"), |
|
|
|
Id = table.Column<int>(type: "int", nullable: false), |
|
|
|
Models = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
Vin = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
ProductionLineId = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
@ -490,7 +509,10 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|
|
|
RequestDate = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
Id = table.Column<string>(type: "nvarchar(max)", nullable: true) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -506,7 +528,8 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -522,7 +545,8 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -538,7 +562,8 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -554,7 +579,8 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -567,7 +593,6 @@ namespace CherryTaskManager.Migrations |
|
|
|
{ |
|
|
|
UId = table.Column<long>(type: "bigint", nullable: false) |
|
|
|
.Annotation("SqlServer:Identity", "1, 1"), |
|
|
|
Id = table.Column<int>(type: "int", nullable: false), |
|
|
|
Models = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
Vin = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
ProductionLineId = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
@ -585,7 +610,10 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|
|
|
RequestDate = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
Id = table.Column<string>(type: "nvarchar(max)", nullable: true) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -601,7 +629,8 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -617,7 +646,8 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -633,7 +663,8 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -649,7 +680,8 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -683,12 +715,14 @@ namespace CherryTaskManager.Migrations |
|
|
|
CreateTime = table.Column<DateTime>(type: "datetime2", nullable: true), |
|
|
|
Plant = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
Assembly = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
Id = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|
|
|
CreateByUser = 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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|
|
|
RequestDate = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
Id = table.Column<string>(type: "nvarchar(max)", nullable: true) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -704,7 +738,8 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -720,7 +755,8 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -736,7 +772,8 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -749,10 +786,35 @@ namespace CherryTaskManager.Migrations |
|
|
|
{ |
|
|
|
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), |
|
|
|
StationId = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|
|
|
StationName = 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(100)", maxLength: 100, nullable: false), |
|
|
|
VendorProductNo = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|
|
|
VendorProductName = table.Column<string>(type: "VARCHAR(100)", maxLength: 100, nullable: false), |
|
|
|
ProductBatchNo = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|
|
|
ManufactureNo = table.Column<string>(type: "VARCHAR(32)", maxLength: 32, nullable: false), |
|
|
|
WorkOrderNumber = table.Column<decimal>(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: false), |
|
|
|
DefectiveNumber = table.Column<decimal>(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: false), |
|
|
|
AcceptableNumber = table.Column<decimal>(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: false), |
|
|
|
OncePassRateRealValue = table.Column<decimal>(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: false), |
|
|
|
OncePassRateTagValue = 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), |
|
|
|
ReadState = table.Column<bool>(type: "bit", nullable: false), |
|
|
|
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false) |
|
|
|
Remark = table.Column<string>(type: "NVarchar(500)", maxLength: 500, nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -765,7 +827,6 @@ namespace CherryTaskManager.Migrations |
|
|
|
{ |
|
|
|
UId = table.Column<long>(type: "bigint", nullable: false) |
|
|
|
.Annotation("SqlServer:Identity", "1, 1"), |
|
|
|
Id = table.Column<int>(type: "int", nullable: false), |
|
|
|
Models = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
Vin = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
ProductionLineId = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
@ -784,7 +845,10 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|
|
|
RequestDate = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
Id = table.Column<string>(type: "nvarchar(max)", nullable: true) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -797,7 +861,6 @@ namespace CherryTaskManager.Migrations |
|
|
|
{ |
|
|
|
UId = table.Column<long>(type: "bigint", nullable: false) |
|
|
|
.Annotation("SqlServer:Identity", "1, 1"), |
|
|
|
Id = table.Column<int>(type: "int", nullable: false), |
|
|
|
ReturnNumber = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
SerialNumber = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
SerialSrate = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
@ -822,7 +885,10 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|
|
|
RequestDate = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
Id = table.Column<string>(type: "nvarchar(max)", nullable: true) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -835,7 +901,6 @@ namespace CherryTaskManager.Migrations |
|
|
|
{ |
|
|
|
UId = table.Column<long>(type: "bigint", nullable: false) |
|
|
|
.Annotation("SqlServer:Identity", "1, 1"), |
|
|
|
Id = table.Column<int>(type: "int", nullable: false), |
|
|
|
ScheduleAgreement = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
SerialNumber = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
MaterialCode = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
@ -853,7 +918,10 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|
|
|
RequestDate = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
Id = table.Column<string>(type: "nvarchar(max)", nullable: true) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -882,7 +950,10 @@ namespace CherryTaskManager.Migrations |
|
|
|
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: false) |
|
|
|
Remark = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskId = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|
|
|
RequestDate = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
Id = table.Column<string>(type: "nvarchar(max)", nullable: true) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|
{ |
|
|
@ -902,7 +973,11 @@ namespace CherryTaskManager.Migrations |
|
|
|
TableName = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
TaskName = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
Url = table.Column<string>(type: "nvarchar(max)", nullable: false), |
|
|
|
IsAuto = table.Column<bool>(type: "bit", nullable: false) |
|
|
|
IsAuto = table.Column<bool>(type: "bit", 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 => |
|
|
|
{ |