Wire the Spectrum cataloguing seed into runtime #14
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
db::seed::seed_spectrum_cataloguingexists and is idempotent, but nothing invokes it yet. Decide how/when an org's baseline field set gets seeded:server --seed/ config flag that runs it on startup, and/orLikely the provisioning path is the real home (one seed per new org DB), with a manual flag/CLI for dev. Decide alongside the provisioning work.
Source: Spectrum seed plan — the seed function is built; wiring was deliberately deferred.
Done in
8ed747c(merged tomain). Wired via aserver seedCLI subcommand mirroringcreate-user: it connects, applies migrations (idempotent — so it works on a fresh DB), then runsdb::seed::seed_spectrum_cataloguingin a transaction and commits. Safe to re-run. Added ajust seedrecipe and a README "Running locally" step. The per-org provisioning path is deferred until a control plane exists (none yet — single-tenant).