feat(core,api): Детали по заданиями роботов
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user