From e8833475ffdc22e8829414b33d12cad2c1c801d1 Mon Sep 17 00:00:00 2001 From: Olga Nemt Date: Wed, 18 Dec 2024 16:13:01 +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 173417c..c84322c 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("utf8mb4_general_ci") + .UseCollation("C") .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 820fc31..bac5642 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("utf8mb4_general_ci") + .UseCollation("C") .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..5f1aab3 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", "C"); base.OnModelCreating(modelBuilder);