29 lines
826 B
C#
29 lines
826 B
C#
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|
|||
|
|
#nullable disable
|
|||
|
|
|
|||
|
|
namespace JiShe.IoT.Migrations
|
|||
|
|
{
|
|||
|
|
/// <inheritdoc />
|
|||
|
|
public partial class updatedeviceinfo202601281007 : Migration
|
|||
|
|
{
|
|||
|
|
/// <inheritdoc />
|
|||
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
|
{
|
|||
|
|
migrationBuilder.RenameColumn(
|
|||
|
|
name: "IsNeedConfigDevicMdoel",
|
|||
|
|
table: "ServiceProDeviceInfo",
|
|||
|
|
newName: "IsNeedConfigDeviceModel");
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <inheritdoc />
|
|||
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
|
{
|
|||
|
|
migrationBuilder.RenameColumn(
|
|||
|
|
name: "IsNeedConfigDeviceModel",
|
|||
|
|
table: "ServiceProDeviceInfo",
|
|||
|
|
newName: "IsNeedConfigDevicMdoel");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|