We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Update database schema from models

Hi everyone,

From reading the doc, I understood that you can generate migration classes from the database structure. I would like to know if the reverse exists : updating the database schema from the model classes a la doctrine2. Something like devtools models:schema:update ?

Kind regards

Laurent

when your using dev tools try to force it will update the certain model :)