DevTools genarate model with relation

Hello , What command should i use to genarate model with some relation and foreignKey ? At the moment I'm genarating like : phalcon model --name somename --get-set

Preaty happy with that, but want to know can I set and the relation too :)

HI ! Your tables must use the innoDB engine, and I don't genreate one by one the models, but all in the same time.

phalcon all-models --get-set --doc

That's should work.

PS : The --doc is useful for IDE's



15.7k

Yes but I want to setup and virtual keys that Phalcon can porovide for me