📄
MatDenDagen/Infrastructure/Storage/Database/Migrations/20260629120000_AddCookbooks.cs
using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace MatDenDagen.Infrastructure.Storage.Database.Migrations { /// <inheritdoc /> public partial class AddCookbooks : Migration { /// <inheritdoc /> protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Cookbooks", columns: table => new { Id = table.Column<string>(type: "TEXT", nullable: false), BlobId = table.Column<string>(type: "TEXT", nullable: false), FileName = table.Column<string>(type: "TEXT", nullable: false), }, constraints: table => { table.PrimaryKey("PK_Cookbooks", x => x.Id); } ); } /// <inheritdoc /> protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable(name: "Cookbooks"); } } }