33 lines
930 B
C#
33 lines
930 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace PARR.DAL.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class tblSettingsUpdPrefix : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.UpdateData(
|
|
table: "Settings",
|
|
keyColumn: "Name",
|
|
keyValue: "TemplatePrefixName",
|
|
column: "Value",
|
|
value: "%PREFIX%-ЭИТИ-ПТК-ПАРР");
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.UpdateData(
|
|
table: "Settings",
|
|
keyColumn: "Name",
|
|
keyValue: "TemplatePrefixName",
|
|
column: "Value",
|
|
value: "ПАРР-ДВС-ПТК");
|
|
}
|
|
}
|
|
}
|