feat(api,dal): tbl TemplateStatusType - добавлен новый тип Error. В API добавлен метод просмотра статистики распределения StatTemplateDistributionController
This commit is contained in:
4117
PARR.DAL/Migrations/20260126042226_tblTemplateStatusTypeAddStatusError.Designer.cs
generated
Normal file
4117
PARR.DAL/Migrations/20260126042226_tblTemplateStatusTypeAddStatusError.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,28 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace PARR.DAL.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class tblTemplateStatusTypeAddStatusError : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "TemplateStatusTypes",
|
||||
columns: new[] { "Id", "Description", "Name" },
|
||||
values: new object[] { 3, "Ошибка", "Error" });
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "TemplateStatusTypes",
|
||||
keyColumn: "Id",
|
||||
keyValue: 3);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2900,6 +2900,12 @@ namespace PARR.DAL.Migrations
|
||||
Id = 2,
|
||||
Description = "Обновляется",
|
||||
Name = "Updating"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 3,
|
||||
Description = "Ошибка",
|
||||
Name = "Error"
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user