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

有帮助吗?

解决方案

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
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top