We are developing a custom app. The custom app has some patches defined in patches.txt.
Now, when we install the custom app on the site, say. bench --site [sitename] install-app custom-app The patches do not get executed even though the patchLog table has all the patch entries.
However, when we do bench migrate on an existing site bench --site [sitename2] migrate The patches get executed successfully. Is this the normal behaviour in frappe? How do we get the patches executed when installing app?