implements |
SyncWorkerInterface |
|---|
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 (spec I5), so table order is irrelevant.
Inherits the Sync pipeline's invariants: it runs inside the pipeline
transaction, dry-run is a pipeline-level rollback, and any DB error — notably
an ON DELETE RESTRICT blocking the retirement of an in-use code (spec D4) —
bubbles to fail the sync loud. It is never swallowed here.
| Methods | ||
|---|---|---|
public
|
name(): string
|
# |
public
|
run(SyncContextInterface $context): void
|
# |