32 lines
1.2 KiB
C#
32 lines
1.2 KiB
C#
using System;
|
||
using Microsoft.EntityFrameworkCore.Migrations;
|
||
|
||
#nullable disable
|
||
|
||
namespace PARR.DAL.Migrations
|
||
{
|
||
/// <inheritdoc />
|
||
public partial class TblAIHSettingsAddValue1 : Migration
|
||
{
|
||
/// <inheritdoc />
|
||
protected override void Up(MigrationBuilder migrationBuilder)
|
||
{
|
||
migrationBuilder.InsertData(
|
||
schema: "AIHIT",
|
||
table: "Settings",
|
||
columns: new[] { "Id", "DateCreated", "DateModified", "Description", "Group", "Name", "Value" },
|
||
values: new object[] { new Guid("77c73c0a-8e4d-4676-b6e2-6a112f20e346"), new DateTimeOffset(new DateTime(2023, 5, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), null, "Статус актуальных ЭК", "Status", "Exploitation", "3-В эксплуатации" });
|
||
}
|
||
|
||
/// <inheritdoc />
|
||
protected override void Down(MigrationBuilder migrationBuilder)
|
||
{
|
||
migrationBuilder.DeleteData(
|
||
schema: "AIHIT",
|
||
table: "Settings",
|
||
keyColumn: "Id",
|
||
keyValue: new Guid("77c73c0a-8e4d-4676-b6e2-6a112f20e346"));
|
||
}
|
||
}
|
||
}
|