iotgateway/IoTGateway.DataAccess/Migrations/20220124063657_platforms.cs

26 lines
682 B
C#
Raw Normal View History

2022-01-24 15:10:56 +00:00
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IoTGateway.DataAccess.Migrations
{
public partial class platforms : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.RenameColumn(
name: "Disperse",
table: "SystemConfig",
newName: "IoTPlatformType");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.RenameColumn(
name: "IoTPlatformType",
table: "SystemConfig",
newName: "Disperse");
}
}
}