feat(Sentiment): update sentiment service

This commit is contained in:
2026-08-09 21:01:42 +02:00
parent aff831cf58
commit 05d55a324c
15 changed files with 1772 additions and 0 deletions
@@ -0,0 +1,39 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace FinlyticSentiment.Migrations
{
/// <inheritdoc />
public partial class InitialSentimentSettings : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "sentiment_settings",
columns: table => new
{
Id = table.Column<Guid>(type: "uuid", nullable: false),
MinConfidenceScore = table.Column<double>(type: "double precision", nullable: false),
MaxBatchSize = table.Column<int>(type: "integer", nullable: false),
SweepIntervalMinutes = table.Column<int>(type: "integer", nullable: false),
GermanWebhookUrl = table.Column<string>(type: "character varying(500)", maxLength: 500, nullable: false),
EnglishWebhookUrl = table.Column<string>(type: "character varying(500)", maxLength: 500, nullable: false),
UpdatedAt = table.Column<DateTime>(type: "timestamp with time zone", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_sentiment_settings", x => x.Id);
});
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "sentiment_settings");
}
}
}