mercato entities install
yarn mercato entities install reads custom entity definitions from every enabled module and installs them for the desired scope. It is typically executed after yarn db:migrate or any time module metadata changes.
Usage
yarn mercato entities install [--tenant <tenantId>] [--global] [--no-global] [--dry-run] [--force]
Aliases: --tenantId for --tenant, --dry for --dry-run.
Options
| Option | Description |
|---|---|
--tenant <id> | Limit synchronization to a single tenant. |
--global | Process only global (tenant-less) definitions. When set, omitting --no-global is recommended. |
--no-global | Skip global definitions, applying changes only to tenant-specific entries. Cannot be combined with --global. |
--dry-run | Log actions without persisting changes. Output stats are prefixed with [dry-run]. |
--force | Reinstall even when definitions appear up to date (useful after manual edits). |