Dmitri Pisarev
05/18/2022, 12:07 PMConnectorError(ConnectorError { user_facing_error: None, kind: RawDatabaseError { code: "unknown", message: "Command failed (SnapshotUnavailable): Unable to read from a snapshot due to pending collection catalog changes; please retry the operation. Snapshot timestamp is Timestamp(1652874614, 25). Collection minimum is Timestamp(1652874614, 33))" } })
I’m using in-memory mongo for tests, which I instantiate programmatically. I have a feeling that Prisma is trying to create some collections behind the scenes which leads to the mentioned error.
Is there some kind of way to make Prisma provision db contents programmatically? Kinda like prisma db push
, but smth I could call via Prisma client?janpio
janpio
Dmitri Pisarev
06/03/2022, 4:39 AMjanpio
Dmitri Pisarev
06/12/2022, 3:08 PMjanpio
janpio