feat(adapter-mssql): make migration aware for use in prisma config adapter - #28262
tylerclendenin wants to merge 1 commit into
Conversation
|
Hi @tylerclendenin, |
So it's not just the MSSQL that is not supported, but none of the adapters will currently work because the engine only works with the Rust engine currently? |
|
@jacek-prisma depending on how long the integration for adapters takes for the prisma engine, this PR tiberius-rs/tiberius#378 for Tiberius should give parity for the MultiSubnetFailover feature. Do you know who might be able to review and integrate it? There does not seem to be much attention paid to it. Or do you know a simple way I could add my own step to a pipeline to build my own Tiberius to be used by my own Prisma deployment? |
|
Hi @tylerclendenin — thanks for this, and apologies for the slow reply. We're clearing the open PR backlog ahead of moving this codebase to a We are closing this one: as noted in review, conforming to the migration-aware interface is not sufficient without schema-engine support, and that work is incomplete. Thanks for the time you put into it. |
Update the MSSQL adapter to be compatible with the prisma config file's defineConfig adapter option by implementing
SqlMigrationAwareDriverAdapterFactory.I added the
connectToShadowDbmethod and updated thePrismaMssqlAdapterclass to accept a release function which is called duringdispose.I used the adapter-pg as a template and adapted it.
Ref #9187