feat(dal): в настройки добавлено поле EsppUnitTag
This commit is contained in:
3941
PARR.DAL/Migrations/20251225035131_settingsAddEsppUnitTag.Designer.cs
generated
Normal file
3941
PARR.DAL/Migrations/20251225035131_settingsAddEsppUnitTag.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
28
PARR.DAL/Migrations/20251225035131_settingsAddEsppUnitTag.cs
Normal file
28
PARR.DAL/Migrations/20251225035131_settingsAddEsppUnitTag.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace PARR.DAL.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class settingsAddEsppUnitTag : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "Settings",
|
||||
columns: new[] { "Name", "Description", "Value" },
|
||||
values: new object[] { "EsppUnitTag", "Префикс тега в поле ЭК \"Дополнительная информация\"", "ПАРР-" });
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "Settings",
|
||||
keyColumn: "Name",
|
||||
keyValue: "EsppUnitTag");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2537,6 +2537,12 @@ namespace PARR.DAL.Migrations
|
||||
Name = "TemplateNameConstantParts",
|
||||
Description = "Список неизменных частей имени шаблона",
|
||||
Value = "[{\"Name\":\"П-1\",\"Value\":\"ЭИТИ\"},{\"Name\":\"П-2\",\"Value\":\"ПАРР\"}]"
|
||||
},
|
||||
new
|
||||
{
|
||||
Name = "EsppUnitTag",
|
||||
Description = "Префикс тега в поле ЭК \"Дополнительная информация\"",
|
||||
Value = "ПАРР-"
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user