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

This commit is contained in:
Olga Nemt 2024-12-18 16:16:02 +05:00
parent e8833475ff
commit e881fc81ad
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("C") .UseCollation("C.UTF-8")
.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("C") .UseCollation("C.UTF-8")
.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", "C"); .HasAnnotation("Relational:Collation", "C.UTF-8");
base.OnModelCreating(modelBuilder); base.OnModelCreating(modelBuilder);