Логика создания шаблонов
This commit is contained in:
1451
PARR.DAL/Migrations/20230925013923_TblSettingUpdPrefix.Designer.cs
generated
Normal file
1451
PARR.DAL/Migrations/20230925013923_TblSettingUpdPrefix.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
32
PARR.DAL/Migrations/20230925013923_TblSettingUpdPrefix.cs
Normal file
32
PARR.DAL/Migrations/20230925013923_TblSettingUpdPrefix.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace PARR.DAL.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class TblSettingUpdPrefix : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "Settings",
|
||||
keyColumn: "Name",
|
||||
keyValue: "TemplatePrefixName",
|
||||
column: "Value",
|
||||
value: "ПАРР-ДВС-ПТК");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "Settings",
|
||||
keyColumn: "Name",
|
||||
keyValue: "TemplatePrefixName",
|
||||
column: "Value",
|
||||
value: "ПАРР-ДВС-ПТК__");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -616,7 +616,7 @@ namespace PARR.DAL.Migrations
|
||||
{
|
||||
Name = "TemplatePrefixName",
|
||||
Description = "Префикс имени шаблона в ЕСПП",
|
||||
Value = "ПАРР-ДВС-ПТК__"
|
||||
Value = "ПАРР-ДВС-ПТК"
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user