How can I migrate in a production environment ?


How can I migrate in a production environment ?

I wanna migrate production by using phalcon. but we should not use development tools in production environment.

now I use this command in local environment.

phalcon migration --verbose --action=run

Is there ways of migrating without using phacon-devtools in production environment?


I had to install on the prod phalcon-dev-tools =(

You can't - at least not to my knowledge. You could however use a CI system to build, test, deploy the app, and run the migration.

That said, I would personally make sure it required manual approval - but I think that would be the most ideal process. GitLab has worked for me in the past for similar issues. Although I am sure other solutions would work just as well:


Based on my experience, I can say that you wont do it.