Parses the raw MongoDB shell/Compass export (comments + ObjectId(...) calls, not valid JSON), maps navn/email/telefon/afmeldt to the new Participant model, filters out known test rows, and upserts on (route_id, lowercased email) so re-running is safe. Excludes the raw export (old_participants.json) from version control since it contains real participants' personal data. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
27 lines
297 B
Text
27 lines
297 B
Text
# Python
|
|
__pycache__/
|
|
*.py[oc]
|
|
*.egg-info/
|
|
build/
|
|
dist/
|
|
|
|
# venv / uv
|
|
.venv/
|
|
|
|
# Env / secrets
|
|
.env
|
|
|
|
# DB
|
|
*.db
|
|
*.sqlite3
|
|
|
|
# Editors / OS
|
|
.vscode/
|
|
.idea/
|
|
.DS_Store
|
|
|
|
# Test cache
|
|
.pytest_cache/
|
|
|
|
# Raw personal-data exports used for one-off migrations — not for version control
|
|
old_participants.json
|