Description
Hello,
I am on version 5.2.12. And I think there is something wrong with a command in the below page:
https://book.cakephp.org/5.x/console-commands/counter-cache.html
The above page shows the sample (could be wrong):
bin/cake counter_cache --assoc Comments Articles
But I think the order of tables is wrong, and the below worked for me:
bin/cake counter_cache --assoc Articles Comments
CakePHP Version
5.2.12
PHP Version
8.3.28
Description
Hello,
I am on version 5.2.12. And I think there is something wrong with a command in the below page:
https://book.cakephp.org/5.x/console-commands/counter-cache.html
The above page shows the sample (could be wrong):
bin/cake counter_cache --assoc Comments Articles
But I think the order of tables is wrong, and the below worked for me:
bin/cake counter_cache --assoc Articles Comments
CakePHP Version
5.2.12
PHP Version
8.3.28