PrismaP
Prisma17mo ago
3 replies
aa55h

postgres db collation error

riginal error: 
ERROR: template database "template1" has a collation version mismatch
DETAIL: The template database was created using collation version 2.39, but the operating system provides version 2.40.
HINT: Rebuild all objects in the template database that use the default collation and run ALTER DATABASE template1 REFRESH COLLATION VERSION, or build PostgreSQL with the right library version.
   0: schema_core::state::DevDiagnostic
             at schema-engine/core/src/state.rs:276

it basically happens for any database prisma creates, any idea why?
Was this page helpful?