29 lines
715 B
C#
29 lines
715 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace Api.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class init3 : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.RenameColumn(
|
|
name: "UnikId",
|
|
table: "Devices",
|
|
newName: "ReferenceId");
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.RenameColumn(
|
|
name: "ReferenceId",
|
|
table: "Devices",
|
|
newName: "UnikId");
|
|
}
|
|
}
|
|
}
|