Flea Flicker
|
b8b054316c
|
Parameterize seed script with SEED_PROFILE env var
Adds SEED_PROFILE env var accepting 'dev', 'uat', or 'demo' values:
- dev: 4 staff (1 manager, 1 receptionist, 2 groomers), 100 clients,
7d/30d appointment window, ~1000 invoices, no UAT clients
- uat: 8 staff (1 manager, 1 receptionist, 3 groomers, 3 bathers),
500 clients, 30d/90d window, ~4000 invoices, includes UAT clients
- demo: same volume as uat
Unset SEED_PROFILE defaults to 'uat' for backwards compatibility.
SEED_KNOWN_USERS_ONLY=true path unchanged.
All appointment dates computed relative to NOW() at seed time.
Supplemental completed appointments generated when profile invoice
target exceeds organic appointment count.
Closes groombook/groombook#247
Co-Authored-By: Paperclip <noreply@paperclip.ing>
|
2026-04-10 03:38:55 +00:00 |
|