Client has been renamed to launcher, and thus namespaces and artifact names had to change. The server project has also had some artifacts renamed in order to create a more clear separation of builds. This will break auto-updates before v0.9.0.
37 lines
1.1 KiB
C#
37 lines
1.1 KiB
C#
using System;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace LANCommander.Launcher.Data.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class MultiplayerModeOptionalGame : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AlterColumn<Guid>(
|
|
name: "GameId",
|
|
table: "MultiplayerModes",
|
|
type: "TEXT",
|
|
nullable: true,
|
|
oldClrType: typeof(Guid),
|
|
oldType: "TEXT");
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AlterColumn<Guid>(
|
|
name: "GameId",
|
|
table: "MultiplayerModes",
|
|
type: "TEXT",
|
|
nullable: false,
|
|
defaultValue: new Guid("00000000-0000-0000-0000-000000000000"),
|
|
oldClrType: typeof(Guid),
|
|
oldType: "TEXT",
|
|
oldNullable: true);
|
|
}
|
|
}
|
|
}
|