5 changed files with 6344 additions and 24 deletions
File diff suppressed because it is too large
@ -0,0 +1,741 @@ |
|||
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); |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,21 @@ |
|||
using Microsoft.Extensions.Configuration; |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
using TaskManager.Entity; |
|||
using TaskManager.EntityFramework; |
|||
|
|||
namespace Wood.Service.Controllers |
|||
{ |
|||
/// <summary>
|
|||
/// 读取日志服务
|
|||
/// </summary>
|
|||
public class CustomLogService : NormalBaseController<TaskLog> |
|||
{ |
|||
public CustomLogService(JobDbContext context, IServiceProvider builder, IConfiguration configuration, IRepository<TaskLog> repository) : base(context, builder, configuration, repository) |
|||
{ |
|||
} |
|||
} |
|||
} |
Loading…
Reference in new issue