Files
opensourcepos/app/Libraries
jekkos 86d3e8a609 fix(migrations): prevent concurrent runs with pessimistic DB lock (#4769)
* 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
2026-11-02 15:21:02 +01:00
..
2024-06-15 17:19:15 +02:00
2025-03-28 21:24:21 +04:00