postgresql - How to handle large PL/pgSQL Functions migration with Flyway? -


We are using flywheels for managing database migration (PostGrace SQL but my question is not vendor specific).

So we have a directory per schema, which has a migration file per schema version. It is working well to add structure and small tasks.

But now, I am working on a large PL / pgSQL function, for which we need to easily track history and we need to split it in. So many files for clarity These functions need to be placed in a separate file (files) and these files must be included in the fly patch file, when we need to update it.

I did not find any way to do this, with the flyway, is it possible to do this? Or is there another way to deal with this matter?


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -