You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Idempotent migrateOnboardingTemplates(db): for every client_module whose module has a per-module onboarding template (task 2), rebuilds its milestone rows from that template, carrying mapped ticks (installed->installation, go_live->go_live, advance_paid->advance_payment, balance_paid->balance_payment, setup_done-> setup_configuration when present) with done_on and payment_id intact. Unmapped ticks (amc_start, or setup_done where the new template has no matching step) are dropped and counted. Audited per project; a second run is a no-op via an identical-key-set short-circuit. Adds the CLI wrapper (mirrors apply-name-fixes.ts's open-DB idiom, Postgres or SQLite) for the real one-time run against production data. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
2 days ago | |
|---|---|---|
| .. | ||
| apply-ltd-numbers.ts | 2 days ago | |
| apply-name-fixes.ts | 2 days ago | |
| backup-hq.sh | 1 week ago | |
| demo-seed.ts | 2 days ago | |
| gmail-connect.ts | 4 days ago | |
| import-apex-full.ts | 4 days ago | |
| import-employees.ts | 2 days ago | |
| migrate-onboarding-templates.ts | 2 days ago | |