Files
PaperlessAI/Migrations/20261011212724_AddedLlmMessage.cs
2026-10-12 01:14:13 +02:00

31 lines
869 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace PaperlessAI.Migrations
{
/// <inheritdoc />
public partial class AddedLlmMessage : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "LastLlmMessage",
table: "PaperlessDocuments",
type: "longtext",
nullable: false,
collation: "utf8mb4_uca1400_ai_ci")
.Annotation("MySql:CharSet", "utf8mb4");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "LastLlmMessage",
table: "PaperlessDocuments");
}
}
}