You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey.
First of all, thanks guys for this tool, it is extremely simple and helpful for me. Using it since v.2.
I have just noticed PR #246. This one could be useful for me, but I need one small feature on the top of it.
Background: I have a bunch of raw sql files with postgres functions inside. It doesn't make sense to store them in migrations as in case of changes I would need to copy-paste the most part of it to another file. It also doesn't allow me to use diff tool for change tracking. Storing them in files resolves most of these troubles except for one - it is implemented outside of pg-migrate project and requires psql on the machine where it is supposed to be run.
To be more precise, instead of incremental changes I set the actual state of the DB from the provided SQL files. I feel like this approach is extremely reasonable and handy in use for functions and policies.
Thus, I would like to have an option to apply all .sql files from a specified migration dir, but doesn't store any information about them in the migration table. It will make possible to run this process multiple time.
Cheers.
The text was updated successfully, but these errors were encountered:
Hi, thanks for thanks :) and input but I do not think this belongs to migration library as it is completely bypassing it.
I do not know what you have in your sql files but wouldn't something like
Hey.
First of all, thanks guys for this tool, it is extremely simple and helpful for me. Using it since v.2.
I have just noticed PR #246. This one could be useful for me, but I need one small feature on the top of it.
Background: I have a bunch of raw sql files with postgres functions inside. It doesn't make sense to store them in migrations as in case of changes I would need to copy-paste the most part of it to another file. It also doesn't allow me to use diff tool for change tracking. Storing them in files resolves most of these troubles except for one - it is implemented outside of pg-migrate project and requires
psql
on the machine where it is supposed to be run.To be more precise, instead of incremental changes I set the actual state of the DB from the provided SQL files. I feel like this approach is extremely reasonable and handy in use for functions and policies.
Thus, I would like to have an option to apply all .sql files from a specified migration dir, but doesn't store any information about them in the migration table. It will make possible to run this process multiple time.
Cheers.
The text was updated successfully, but these errors were encountered: