mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-09 18:07:55 -05:00
* `execute_script()` now returns a boolean for error handling. * Added transaction to `Migration_MissingConfigKeys.up()`. * Added `executeScriptWithTransaction()` to migration helpers. * Many changes for testing; also minor formatting fixes. * Removed test code and pointed the `NullableTaxCategoryId` migration at the right SQL file. * Fixed header.php * Code cleanup from code review: - Added IGNORE to SQL scripts. - Added try-catch to executeScriptWithTransaction(). - Various comment changes. * Fixed naming issue Nullable tax category ID migration now runs the correct script. * Updated SQL Replaced INSERT WHERE NOT EXISTS in missing config keys sql script to use a single INSERT IGNORE. * Updated migration helper Updated executeScriptWithTransaction to use transRollback --------- Co-authored-by: Joe Williams <hey-there-joe@outlook.com>