forked from ddrilling/AsbCloudServer
33 lines
878 B
C#
33 lines
878 B
C#
|
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");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|