feat(core,api): Детали по заданиями роботов

This commit is contained in:
Mikhail Trubnikov
2026-07-29 09:50:21 +10:00
parent 56cdca0502
commit 7d5fb23daf
18 changed files with 4435 additions and 36 deletions

View File

@@ -0,0 +1,45 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace PARR.DAL.Migrations
{
/// <inheritdoc />
public partial class tblRobotConfigurationsAddIndexes : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropIndex(
name: "IX_RobotConfigurations_RobotCode",
table: "RobotConfigurations");
migrationBuilder.CreateIndex(
name: "IX_RobotConfigurations_RobotCode_RobotStatusCode",
table: "RobotConfigurations",
columns: new[] { "RobotCode", "RobotStatusCode" });
migrationBuilder.CreateIndex(
name: "IX_RobotConfigurations_RobotCode_TaskStatusCode",
table: "RobotConfigurations",
columns: new[] { "RobotCode", "TaskStatusCode" });
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropIndex(
name: "IX_RobotConfigurations_RobotCode_RobotStatusCode",
table: "RobotConfigurations");
migrationBuilder.DropIndex(
name: "IX_RobotConfigurations_RobotCode_TaskStatusCode",
table: "RobotConfigurations");
migrationBuilder.CreateIndex(
name: "IX_RobotConfigurations_RobotCode",
table: "RobotConfigurations",
column: "RobotCode");
}
}
}