29 lines
958 B
C#
29 lines
958 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace PARR.DAL.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class settingsAddJobIdForUnusedTemplates : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.InsertData(
|
|
table: "Settings",
|
|
columns: new[] { "Name", "Description", "Value" },
|
|
values: new object[] { "JobIdForUnusedTemplates", "Job в который перемещаем ниспользованные шаблоны", "8f85a91c-a223-4686-bb69-1f0ee73624f2" });
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DeleteData(
|
|
table: "Settings",
|
|
keyColumn: "Name",
|
|
keyValue: "JobIdForUnusedTemplates");
|
|
}
|
|
}
|
|
}
|