Collation en_US.utf8
Some checks failed
Unit tests / test (push) Failing after 1m14s

This commit is contained in:
Оля Бизюкова 2024-12-19 09:20:37 +05:00
parent dbf4a5ed37
commit 0d3fb8fd08
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
modelBuilder
.UseCollation("Russian_Russia.1251")
.UseCollation("en_US.utf8")
.HasAnnotation("ProductVersion", "8.0.10")
.HasAnnotation("Relational:MaxIdentifierLength", 63);

View File

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

View File

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