// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; using TeamUp.Modules.Integrations.Persistence; #nullable disable namespace TeamUp.Modules.Integrations.Persistence.Migrations { [DbContext(typeof(IntegrationsDbContext))] partial class IntegrationsDbContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasDefaultSchema("integrations") .HasAnnotation("ProductVersion", "10.0.8") .HasAnnotation("Relational:MaxIdentifierLength", 63); NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder); modelBuilder.Entity("TeamUp.Modules.Integrations.Domain.ApiConfig", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("uuid"); b.Property("CreatedAtUtc") .HasColumnType("timestamp with time zone"); b.Property("CreatedByMemberId") .HasColumnType("uuid"); b.Property("EncryptedKey") .IsRequired() .HasColumnType("text"); b.Property("Endpoint") .HasMaxLength(500) .HasColumnType("character varying(500)"); b.Property("Model") .IsRequired() .HasMaxLength(120) .HasColumnType("character varying(120)"); b.Property("Name") .IsRequired() .HasMaxLength(120) .HasColumnType("character varying(120)"); b.Property("OrganizationId") .HasColumnType("uuid"); b.Property("Provider") .IsRequired() .HasMaxLength(60) .HasColumnType("character varying(60)"); b.HasKey("Id"); b.HasIndex("OrganizationId"); b.HasIndex("OrganizationId", "Name") .IsUnique(); b.ToTable("api_configs", "integrations"); }); modelBuilder.Entity("TeamUp.Modules.Integrations.Domain.McpServerConfig", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("uuid"); b.Property("CreatedAtUtc") .HasColumnType("timestamp with time zone"); b.Property("CreatedByMemberId") .HasColumnType("uuid"); b.Property("Enabled") .HasColumnType("boolean"); b.Property("EncryptedHeaders") .HasColumnType("text"); b.Property("Endpoint") .IsRequired() .HasMaxLength(500) .HasColumnType("character varying(500)"); b.Property("Name") .IsRequired() .HasMaxLength(120) .HasColumnType("character varying(120)"); b.Property("OrganizationId") .HasColumnType("uuid"); b.HasKey("Id"); b.HasIndex("OrganizationId"); b.HasIndex("OrganizationId", "Name") .IsUnique(); b.ToTable("mcp_servers", "integrations"); }); #pragma warning restore 612, 618 } } }