We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 here.

Phalcon tools setSchema by default now?

updated to 3.0.5 and added some new models and it added the setSchema in the init. Is that the default now? I just want to be sure since it really messed me up running multiple dev/prod env that are set well before the models. quite the goosechase.


Not sure if this answer will help but. I also updated my devtool while i was working on a project and noticed this. However removing the line doesnt seem to have any effect, since models generated before updating the tools didnt have them. It might have something to do with generating migrations, but again havent checked the effect of it.

You can use --schema="" key to create initialize() without setSchema()