JiShe.IOT.Admin/src/JiShe.IoT.EntityFrameworkCore/Migrations/20251022063641_updateThingModel2.cs
2025-10-22 17:28:55 +08:00

29 lines
815 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace JiShe.IoT.Migrations
{
/// <inheritdoc />
public partial class updateThingModel2 : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.RenameColumn(
name: "RawFieldName",
table: "ServiceProDeviceThingModelInfo",
newName: "IoTPlatformRawFieldName");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.RenameColumn(
name: "IoTPlatformRawFieldName",
table: "ServiceProDeviceThingModelInfo",
newName: "RawFieldName");
}
}
}