+
Some checks failed
Run Tests / run_tests (push) Failing after 1m54s

This commit is contained in:
Olga Nemt 2024-12-18 16:13:01 +05:00
parent 6249b6cd96
commit e8833475ff
3 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ namespace DD.Persistence.Database.Postgres.Migrations
{ {
#pragma warning disable 612, 618 #pragma warning disable 612, 618
modelBuilder modelBuilder
.UseCollation("utf8mb4_general_ci") .UseCollation("C")
.HasAnnotation("ProductVersion", "8.0.10") .HasAnnotation("ProductVersion", "8.0.10")
.HasAnnotation("Relational:MaxIdentifierLength", 63); .HasAnnotation("Relational:MaxIdentifierLength", 63);

View File

@ -17,7 +17,7 @@ namespace DD.Persistence.Database.Postgres.Migrations
{ {
#pragma warning disable 612, 618 #pragma warning disable 612, 618
modelBuilder modelBuilder
.UseCollation("utf8mb4_general_ci") .UseCollation("C")
.HasAnnotation("ProductVersion", "8.0.10") .HasAnnotation("ProductVersion", "8.0.10")
.HasAnnotation("Relational:MaxIdentifierLength", 63); .HasAnnotation("Relational:MaxIdentifierLength", 63);

View File

@ -14,7 +14,7 @@ public partial class PersistencePostgresContext : PersistenceDbContext
protected override void OnModelCreating(ModelBuilder modelBuilder) protected override void OnModelCreating(ModelBuilder modelBuilder)
{ {
modelBuilder.HasPostgresExtension("adminpack") modelBuilder.HasPostgresExtension("adminpack")
.HasAnnotation("Relational:Collation", "Russian_Russia.1251"); .HasAnnotation("Relational:Collation", "C");
base.OnModelCreating(modelBuilder); base.OnModelCreating(modelBuilder);