How to run database migration through CLI?


I’m setting up my NodeJS production deployment using Caprover.

Something I haven’t figured out, what’s the command you run to deploy migrations? So I can automatically run that command at each deployment.

Otherwise, I may deploy and leave the app hanging due to missing tables :sweat_smile:

On Wappler’s Web Server terminal:

Community Page
Last updated: