feat(dal): заменен Аксенов на Овчаренко. Добавлены индексы в UnitInValue
This commit is contained in:
54
PARR.DAL/Migrations/20251229022742_addUnitInValuesIndexes.cs
Normal file
54
PARR.DAL/Migrations/20251229022742_addUnitInValuesIndexes.cs
Normal file
@@ -0,0 +1,54 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace PARR.DAL.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class addUnitInValuesIndexes : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "Settings",
|
||||
keyColumn: "Name",
|
||||
keyValue: "Initiator",
|
||||
column: "Value",
|
||||
value: "ОВЧАРЕНКО АЛЕКСЕЙ ВИТАЛЬЕВИЧ (OVCHARENKOAV@GVC.OAO.RZD)");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_UnitInValues_FieldId_UnitId",
|
||||
schema: "unit",
|
||||
table: "UnitInValues",
|
||||
columns: new[] { "FieldId", "UnitId" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_UnitInValues_UnitId_FieldId",
|
||||
schema: "unit",
|
||||
table: "UnitInValues",
|
||||
columns: new[] { "UnitId", "FieldId" });
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropIndex(
|
||||
name: "IX_UnitInValues_FieldId_UnitId",
|
||||
schema: "unit",
|
||||
table: "UnitInValues");
|
||||
|
||||
migrationBuilder.DropIndex(
|
||||
name: "IX_UnitInValues_UnitId_FieldId",
|
||||
schema: "unit",
|
||||
table: "UnitInValues");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "Settings",
|
||||
keyColumn: "Name",
|
||||
keyValue: "Initiator",
|
||||
column: "Value",
|
||||
value: "АКСЕНОВ АЛЕКСАНДР ЕВГЕНЬЕВИЧ (AKSENOVAE@GVC.OAO.RZD)");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user