Question

I'm using windows and my table name is "products"!

Command:

phalcon create-model --table-name products

Error:

Error: Unknow parameter 'table-name'

What is the problem?!

Était-ce utile?

La solution

It must be:

phalcon model --name products

Or:

phalcon model products

If you need to check what options are available in certain command, type:

phalcon model
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top