From e881fc81ad926df01b0b1f1596216b82d345be72 Mon Sep 17 00:00:00 2001 From: Olga Nemt Date: Wed, 18 Dec 2024 16:16:02 +0500 Subject: [PATCH] + --- .../Migrations/20241218105317_Init.Designer.cs | 2 +- .../Migrations/PersistencePostgresContextModelSnapshot.cs | 2 +- DD.Persistence.Database.Postgres/PersistencePostgresContext.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DD.Persistence.Database.Postgres/Migrations/20241218105317_Init.Designer.cs b/DD.Persistence.Database.Postgres/Migrations/20241218105317_Init.Designer.cs index c84322c..d3f3ed1 100644 --- a/DD.Persistence.Database.Postgres/Migrations/20241218105317_Init.Designer.cs +++ b/DD.Persistence.Database.Postgres/Migrations/20241218105317_Init.Designer.cs @@ -20,7 +20,7 @@ namespace DD.Persistence.Database.Postgres.Migrations { #pragma warning disable 612, 618 modelBuilder - .UseCollation("C") + .UseCollation("C.UTF-8") .HasAnnotation("ProductVersion", "8.0.10") .HasAnnotation("Relational:MaxIdentifierLength", 63); diff --git a/DD.Persistence.Database.Postgres/Migrations/PersistencePostgresContextModelSnapshot.cs b/DD.Persistence.Database.Postgres/Migrations/PersistencePostgresContextModelSnapshot.cs index bac5642..7256857 100644 --- a/DD.Persistence.Database.Postgres/Migrations/PersistencePostgresContextModelSnapshot.cs +++ b/DD.Persistence.Database.Postgres/Migrations/PersistencePostgresContextModelSnapshot.cs @@ -17,7 +17,7 @@ namespace DD.Persistence.Database.Postgres.Migrations { #pragma warning disable 612, 618 modelBuilder - .UseCollation("C") + .UseCollation("C.UTF-8") .HasAnnotation("ProductVersion", "8.0.10") .HasAnnotation("Relational:MaxIdentifierLength", 63); diff --git a/DD.Persistence.Database.Postgres/PersistencePostgresContext.cs b/DD.Persistence.Database.Postgres/PersistencePostgresContext.cs index 5f1aab3..173f822 100644 --- a/DD.Persistence.Database.Postgres/PersistencePostgresContext.cs +++ b/DD.Persistence.Database.Postgres/PersistencePostgresContext.cs @@ -14,7 +14,7 @@ public partial class PersistencePostgresContext : PersistenceDbContext protected override void OnModelCreating(ModelBuilder modelBuilder) { modelBuilder.HasPostgresExtension("adminpack") - .HasAnnotation("Relational:Collation", "C"); + .HasAnnotation("Relational:Collation", "C.UTF-8"); base.OnModelCreating(modelBuilder);