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?!

Was it helpful?

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
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top