Barnaby
07/29/2022, 4:41 PMAustin
07/29/2022, 8:12 PM.sql
files from your migration
folder, I don’t think they would work against SQLite if they were generated using a Postgres database.
If you only cared about the end state of the database schema, you could potentially maintain a separate Prisma schema for your testing database. Then you could generate and import your SQLite Prisma Client in your integration tests.
Relevant docsBarnaby
07/29/2022, 8:13 PMBarnaby
07/29/2022, 8:13 PMBarnaby
07/29/2022, 8:13 PM