SteamGameTimeTrack/API/Migrations/20250526144942_Game-Logo-and-Icon.cs
2025-05-26 17:02:13 +02:00

39 lines
993 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace API.Migrations
{
/// <inheritdoc />
public partial class GameLogoandIcon : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "IconUrl",
table: "Games",
type: "TEXT",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "LogoUrl",
table: "Games",
type: "TEXT",
nullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "IconUrl",
table: "Games");
migrationBuilder.DropColumn(
name: "LogoUrl",
table: "Games");
}
}
}