When we use this command (for example);

phalcon scaffold products --force

what is the benefit of "--force"? Please explain for me...

有帮助吗?

解决方案

That option overwrites any modified file generated before by the same command, if you run the scaffold passing this option, you'll lose any changes, however the new generated scaffold will generate the files with fields added/modified/dropped in the table.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top