Add game website URL to suggestions and results

This commit is contained in:
2026-01-28 20:25:02 +01:00
parent e15dd02228
commit 1b96d2af46
8 changed files with 228 additions and 4 deletions

View File

@@ -0,0 +1,29 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace GameList.Data.Migrations
{
/// <inheritdoc />
public partial class AddGameUrlToSuggestion : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "GameUrl",
table: "Suggestions",
type: "TEXT",
maxLength: 2048,
nullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "GameUrl",
table: "Suggestions");
}
}
}