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);