29 lines
815 B
C#
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");
|
|
}
|
|
}
|
|
}
|