using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace FinlyticSentiment.Migrations
{
///
public partial class InitialSentimentSettings : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "sentiment_settings",
columns: table => new
{
Id = table.Column(type: "uuid", nullable: false),
MinConfidenceScore = table.Column(type: "double precision", nullable: false),
MaxBatchSize = table.Column(type: "integer", nullable: false),
SweepIntervalMinutes = table.Column(type: "integer", nullable: false),
GermanWebhookUrl = table.Column(type: "character varying(500)", maxLength: 500, nullable: false),
EnglishWebhookUrl = table.Column(type: "character varying(500)", maxLength: 500, nullable: false),
UpdatedAt = table.Column(type: "timestamp with time zone", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_sentiment_settings", x => x.Id);
});
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "sentiment_settings");
}
}
}