diff --git a/DD.Persistence.Database.Postgres/Migrations/20241218105317_Init.Designer.cs b/DD.Persistence.Database.Postgres/Migrations/20241218105317_Init.Designer.cs index 6d146e4..c9979d7 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("Russian_Russia.1251") + .UseCollation("en_US.utf8") .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 c57bb77..077f9d2 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("Russian_Russia.1251") + .UseCollation("en_US.utf8") .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 00f1a31..7b17d6b 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", "Russian_Russia.1251"); + .HasAnnotation("Relational:Collation", "en_US.utf8"); base.OnModelCreating(modelBuilder);