29 lines
919 B
C#
29 lines
919 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
||
|
||
#nullable disable
|
||
|
||
namespace PARR.DAL.Migrations
|
||
{
|
||
/// <inheritdoc />
|
||
public partial class tblSettingsUpd26022026 : Migration
|
||
{
|
||
/// <inheritdoc />
|
||
protected override void Up(MigrationBuilder migrationBuilder)
|
||
{
|
||
migrationBuilder.InsertData(
|
||
table: "Settings",
|
||
columns: new[] { "Name", "Description", "Value" },
|
||
values: new object[] { "EsppScheduleTimezone", "Расписание регламентной работы - В каком часовом поясе", "MSK" });
|
||
}
|
||
|
||
/// <inheritdoc />
|
||
protected override void Down(MigrationBuilder migrationBuilder)
|
||
{
|
||
migrationBuilder.DeleteData(
|
||
table: "Settings",
|
||
keyColumn: "Name",
|
||
keyValue: "EsppScheduleTimezone");
|
||
}
|
||
}
|
||
}
|