Question

When we use this command (for example);

phalcon scaffold products --force

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

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top