Database Design
Entity-Relationship Diagram
Table Overview
The system database contains the following minimum required tables:
usersclassesenrollmentsproblemsquizzessubmissionsgradessuggestion_eventsevent_logs
Each table uses:
- Primary Keys (PK) to uniquely identify records
- Foreign Keys (FK) to maintain referential integrity
- Appropriate indexing for performance optimization
These constraints ensure data consistency and prevent orphaned or invalid records.