Wipes all other users and upserts a single admin with the given email +
password. Use after the rename when you want a clean slate.
docker compose -p loreal-prod-tracker exec app \
npx tsx scripts/create-admin.ts admin@loreal.com 'YourPasswordHere'
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| backfill-embeddings.ts | ||
| backfill-org-ids.ts | ||
| backup-db.sh | ||
| clean-slate.ts | ||
| create-admin.ts | ||
| migrate-to-dynamic-pipelines.ts | ||
| recompute-deliverable-statuses.ts | ||
| seed-dates-catalog.ts | ||
| seed-dates.ts | ||