Lagt till nya entiteter för Gameround och GamePoints

Migrerat och byggt ut databasen
This commit is contained in:
2025-09-03 23:38:57 +02:00
parent ddb6719587
commit 4caeb21b0d
29 changed files with 1288 additions and 56 deletions

View File

@ -0,0 +1,38 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace GreadyPoang.DataLayer.Migrations
{
/// <inheritdoc />
public partial class FixHeatToRoundParams : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.RenameColumn(
name: "GameHeatRegNr",
table: "GamePoints",
newName: "GameRoundRegNr");
migrationBuilder.RenameColumn(
name: "GameHeatId",
table: "GamePoints",
newName: "GameRoundId");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.RenameColumn(
name: "GameRoundRegNr",
table: "GamePoints",
newName: "GameHeatRegNr");
migrationBuilder.RenameColumn(
name: "GameRoundId",
table: "GamePoints",
newName: "GameHeatId");
}
}
}