📄 MatDenDagen/Infrastructure/Storage/Database/Migrations/20260504170948_CreateConfigTable.cs
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace MatDenDagen.Infrastructure.Storage.Database.Migrations
{
    /// <inheritdoc />
    public partial class CreateConfigTable : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.CreateTable(
                name: "Configs",
                columns: table => new
                {
                    Key = table.Column<string>(type: "TEXT", nullable: false),
                    Value = table.Column<string>(type: "TEXT", nullable: false),
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Configs", x => x.Key);
                }
            );
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropTable(name: "Configs");
        }
    }
}