DD.WellWorkover.Cloud/AsbCloudDb/Migrations/20240902054632_Update_Permission_Version.cs

33 lines
878 B
C#
Raw Permalink Normal View History

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace AsbCloudDb.Migrations
{
/// <inheritdoc />
public partial class Update_Permission_Version : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.UpdateData(
table: "t_permission",
keyColumn: "id",
keyValue: 532,
column: "name",
value: "Version.get");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.UpdateData(
table: "t_permission",
keyColumn: "id",
keyValue: 532,
column: "name",
value: "TelemetryInfo.get");
}
}
}