Adam
07/12/2021, 4:52 PMprisma
a postgres connection string with a schema that doesn't exist, it should create it correct?Dominic Hadfield
07/12/2021, 5:03 PMAdam
07/12/2021, 5:26 PM<postgresql://postgres:postgres@localhost:5432/dev?schema=newSchema>
I get an error which doesn't have much info (see image)
If I use currentSchema
instead of schema
it falls back to the public
schemaAdam
07/12/2021, 5:28 PMAdam
07/12/2021, 5:38 PMschema
will cause prisma to create the schema, but when I try to run any migration command on it it fails with
Error querying the database: db error: ERROR: current transaction is aborted, commands ignored until end of transaction block
0: migration_core::api::ApplyMigrations
at migration-engine/core/src/api.rs:69
Adam
07/12/2021, 5:42 PMjanpio
Adam
07/13/2021, 3:06 PMdb push
works wellAdam
07/13/2021, 3:06 PM