mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-11-08 23:43:32 -05:00
* fix(migrations): prevent concurrent runs with pessimistic DB lock Adds GET_LOCK/RELEASE_LOCK around the migration sequence so a second request (page refresh, double-click, supervisor retry) cannot re-trigger the same migration while the first is still executing. Also adds ignore_user_abort(true) so a client disconnect does not tear down the PHP process mid-migration. Fixes #4763