feat(core,dal,domain,templateUpdater): Задания роботам выдаюстя с учетом подмены и множества переименований

This commit is contained in:
Mikhail Trubnikov
2026-07-29 16:31:50 +10:00
parent 7d5fb23daf
commit acdb6ec893
6 changed files with 4306 additions and 54 deletions

View File

@@ -0,0 +1,54 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace PARR.DAL.Migrations
{
/// <inheritdoc />
public partial class tblTemplateRenamePendingAddDateModifiedRemUniqueIndex : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropIndex(
name: "IX_TemplateRenamePendings_OldName",
schema: "template",
table: "TemplateRenamePendings");
migrationBuilder.AddColumn<DateTimeOffset>(
name: "DateModified",
schema: "template",
table: "TemplateRenamePendings",
type: "timestamp with time zone",
nullable: true);
migrationBuilder.CreateIndex(
name: "IX_TemplateRenamePendings_OldName",
schema: "template",
table: "TemplateRenamePendings",
column: "OldName");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropIndex(
name: "IX_TemplateRenamePendings_OldName",
schema: "template",
table: "TemplateRenamePendings");
migrationBuilder.DropColumn(
name: "DateModified",
schema: "template",
table: "TemplateRenamePendings");
migrationBuilder.CreateIndex(
name: "IX_TemplateRenamePendings_OldName",
schema: "template",
table: "TemplateRenamePendings",
column: "OldName",
unique: true);
}
}
}