Implemented "roundtrip" status checking. Added node ssl field.

This commit is contained in:
2024-12-13 20:12:56 +01:00
parent 3c88b60e8d
commit d15c5326ed
16 changed files with 872 additions and 7 deletions

View File

@@ -0,0 +1,31 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace MoonlightServers.ApiServer.Database.Migrations
{
/// <inheritdoc />
public partial class AddedNodeSslField : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "UseSsl",
schema: "Servers",
table: "Nodes",
type: "tinyint(1)",
nullable: false,
defaultValue: false);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "UseSsl",
schema: "Servers",
table: "Nodes");
}
}
}