LANCommander/LANCommander.Server.Data.SQLite/Migrations/20260308000001_AddRemoteServerEngine.cs

39 lines
1 KiB
C#

using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace LANCommander.Migrations
{
/// <inheritdoc />
public partial class AddRemoteServerEngine : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<Guid>(
name: "RemoteHostId",
table: "Servers",
type: "TEXT",
nullable: true);
migrationBuilder.AddColumn<Guid>(
name: "RemoteServerId",
table: "Servers",
type: "TEXT",
nullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "RemoteHostId",
table: "Servers");
migrationBuilder.DropColumn(
name: "RemoteServerId",
table: "Servers");
}
}
}