Running migrations with "jets deploy" command



I need to run migrations on when jets app is deployed using jets deploy command. Is there an inbuilt option?


There’s no built-in option. Generally recommend using jets db:migrate outside the deploy process. A wrapper script could work. Something like bin/deploy:

jets db:migrate # the machine needs access to be able to migrate
jets deploy