I encounter this error when I run `npx prisma migr...
# prisma-client
n
I encounter this error when I run
npx prisma migrate dev
Copy code
Error: P3014

Prisma Migrate could not create the shadow database. Please make sure the database user has permission to create databases. Read more about the shadow database (and workarounds) at <https://pris.ly/d/migrate-shadow>

Original error: 
db error: ERROR: permission denied to create database
   0: sql_migration_connector::flavour::postgres::sql_schema_from_migration_history
             at migration-engine/connectors/sql-migration-connector/src/flavour/postgres.rs:354
   1: migration_core::api::DevDiagnostic
             at migration-engine/core/src/api.rs:108
The postgres database connects well
r
@Nditah Samweld 👋 Could you provide database creation permissions to the user so that the Shadow Database can be created for migrations.
👍 1