Aller au contenu

🚀 Quick Reset Guide

For Docker Users (Most Common)

# Quick reset everything (with confirmation)
./scripts/docker-reset-test-data.sh

# Quick reset without confirmation (faster)
./scripts/docker-reset-test-data.sh --yes

# Reset only dentists
./scripts/docker-reset-test-data.sh --dentists-only --yes

# Reset only patients
./scripts/docker-reset-test-data.sh --patients-only --yes

Direct Docker Command

# Most common - reset everything
docker compose exec web python manage.py reset_test_data --yes

# Reset specific data
docker compose exec web python manage.py reset_test_data --dentists-only --yes
docker compose exec web python manage.py reset_test_data --patients-only --yes

Current Database Stats

After running the command, you saw: - 11 Dentist Contracts - 11 Dentists - 31,579 Patients - Total: 31,601 records

All successfully deleted! ✅

See Full Documentation

For complete documentation including all options, examples, and use cases, see: - RESET_TEST_DATA.md