Class LaravelUi5\Sdk\Customizing\CustomizingWorker

implements SyncWorkerInterface, CatalogWorkUnitInterface

Generic flat projection of every code-owned Customizing catalog (see https://laravelui5.com/sdk/customizing).

For each table declared by a {@see \LaravelUi5\Sdk\Customizing\Contracts\CustomizingEntry} attribute it reconciles the DB to the complete declared set — insert / update-if-dirty / delete-absent — keyed on the catalog's identity column, column-agnostic, via the query builder (no per-catalog model). Catalogs are independent and flat, so table order is irrelevant.

A unit of work of the sync: it runs in a transaction of its own, and a dry run is the trigger's rollback. A code an ON DELETE RESTRICT still holds is not retired: the worker keeps it and reports it as a blocker, which keeps ui5:sync from starting until the configuration no longer uses it. Any other database error bubbles.

A catalogue: the code is the source of every row (what it no longer declares is deleted), so it writes no positions to the change log. A Customizing catalog therefore never carries #[Audited] — rows a person decides on belong in Configuration.

Methods