I'm currently learning how to build an app using posgresql. I was wondering how would one's workflow look like deploying to a linux server. My experience currently is using mongodb with mongoose. I would then set up a git server on my remote linux server and set up post-receive script that will checkout the working directory, run yarn/npm install then start the start script. Since mongodb is schemaless, no need to run any migrations.
In using knexjs. Will I have to include a migration everytime I push updates? I man run a migration everytime? Or should i be manually ssh-ing onto the server and running migrations from there? How does one manage migrations for postgresql for production uses in general?
via Nate
No comments:
Post a Comment