문제

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