How can I migrate in a production environment ?

Hello everyone,, 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??



2.8k

The team I'm working with was wondering the same thing. Our phalcon project is not live yet, but I did come up with an idea.

Have the deployment server run the phalcon migration run against the production database.

In most cases, it would be good to run backwards compatible migrations before deploying the actual code.

you can use a single test environment to mimic the production environment