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

phalcon can dynamically create table model?

Can you write a class that implements model? Like: $ model = new basemodel ($ tablename) thanks

edited Jul '15

Can't you just use php in one of the models to create a file inside the model folder? You can then set some variables and write that into the new file.