// using System; using System.Collections.Generic; using API.Schema.Contexts; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; #nullable disable namespace API.Migrations.notifications { [DbContext(typeof(NotificationsContext))] partial class NotificationsContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("ProductVersion", "9.0.3") .HasAnnotation("Relational:MaxIdentifierLength", 63); NpgsqlModelBuilderExtensions.HasPostgresExtension(modelBuilder, "hstore"); NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder); modelBuilder.Entity("API.Schema.Notification", b => { b.Property("NotificationId") .HasMaxLength(64) .HasColumnType("character varying(64)"); b.Property("Date") .HasColumnType("timestamp with time zone"); b.Property("Message") .IsRequired() .HasMaxLength(512) .HasColumnType("character varying(512)"); b.Property("Title") .IsRequired() .HasMaxLength(128) .HasColumnType("character varying(128)"); b.Property("Urgency") .HasColumnType("smallint"); b.HasKey("NotificationId"); b.ToTable("Notifications"); }); modelBuilder.Entity("API.Schema.NotificationConnectors.NotificationConnector", b => { b.Property("Name") .HasMaxLength(64) .HasColumnType("character varying(64)"); b.Property("Body") .IsRequired() .HasMaxLength(4096) .HasColumnType("character varying(4096)"); b.Property>("Headers") .IsRequired() .HasColumnType("hstore"); b.Property("HttpMethod") .IsRequired() .HasMaxLength(8) .HasColumnType("character varying(8)"); b.Property("Url") .IsRequired() .HasMaxLength(2048) .HasColumnType("character varying(2048)"); b.HasKey("Name"); b.ToTable("NotificationConnectors"); }); #pragma warning restore 612, 618 } } }