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
this would make it easier for me to use the tool because i run migrations programmatically before my application starts, and i want the transpilation/build process to apply to migration files
The text was updated successfully, but these errors were encountered:
moodysalem
changed the title
allow importing migrations instead of pointing to directory
allow importing/specifying migrations instead of pointing to directory
Dec 10, 2023
How is your file-structure?
How do you call node-pg-migrate?
How do you want to call it instead?
Do you have an example Open Source repo you could link to show how it should be improved?
How is your file-structure? How do you call node-pg-migrate? How do you want to call it instead? Do you have an example Open Source repo you could link to show how it should be improved?
I just want something that lets me organize this into a list of changesets and creates/manages a DB table for tracking migration state. I still want to use all typescript everywhere
Ok, yeah, that is a lot 🤔
node-pg-migrate could only handle the createSchema stuff, but you have far more other stuff also below as well.
Did you considered trying out knex?
Either way, node-pg-migrate can use .ts migration files, but these would fully be moved to a separate migration folder. I would need to check myself how to execute these migrations then programmatically from inside a project startup.
I think I will come back to this issue later, and currently focus priority to some other more minor stuff. I hope that's ok. 🙂
this would make it easier for me to use the tool because i run migrations programmatically before my application starts, and i want the transpilation/build process to apply to migration files
The text was updated successfully, but these errors were encountered: