flyway icon indicating copy to clipboard operation
flyway copied to clipboard

Native Connectors - Script Migrations

Open alistair-RG opened this issue 1 year ago • 1 comments

Native Connectors is the new database connectivity we're building in Flyway that allows use of non-JDBC tools to execute migrations. At the moment implemented support for MongoDB using the API for JSON migrations or leveraging your existing mongosh installation for Javascript migrations.

You can find out more here: https://documentation.red-gate.com/fd/flyway-native-connectors-mongodb-271583122.html

From Flyway 11.1.0 we've made this the default driver if you use MongoDB - support in the open-source edition wasn't great previously and so this will improve things.

We haven't yet completed all the implementation and this is one of the issues tracking progress and gathering community feedback. These are things we will do but we need to work out when.

This specific issue is around the absence of script migrations - if you use this with Flyway and MongoDB then let us know (give this issue a 👍or add a comment about how you use this)

alistair-RG avatar Dec 12 '24 15:12 alistair-RG

It is an intriguing idea if, on Windows,, we can then use the same driver for scripted callbacks in PowerShell as is used by Flyway. It would take out some of the complication. (PowerShell cannot use JDBC drivers)

Phil-Factor avatar Jan 10 '25 16:01 Phil-Factor