Enums as string

This commit is contained in:
2025-10-15 23:41:26 +02:00
parent 565cf01114
commit 626131b9b8
15 changed files with 838 additions and 44 deletions

View File

@@ -18,7 +18,7 @@ namespace API.Migrations.Notifications
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "9.0.8")
.HasAnnotation("ProductVersion", "9.0.9")
.HasAnnotation("Relational:MaxIdentifierLength", 63);
NpgsqlModelBuilderExtensions.HasPostgresExtension(modelBuilder, "hstore");
@@ -46,8 +46,8 @@ namespace API.Migrations.Notifications
.HasMaxLength(128)
.HasColumnType("character varying(128)");
b.Property<byte>("Urgency")
.HasColumnType("smallint");
b.Property<int>("Urgency")
.HasColumnType("integer");
b.HasKey("Key");