Patch run every time

Hi all ,
I need to execute update query for every time when run update patch pls tell me any one …

Hi,
Does anyone have a solution for this?

Actually in need of having such a solution now.

Yes, You can create one file under the patches folder and its should mention in patch.txt file so it will be called on every patch

ex:frappe/frappe/patch.txt
frappe.patches.v14_0.drop_data_import_legacy