Data Relationships
DatabaseVerifiedShare on
Rules that keep data consistent.
HM Redowan1 min readUpdated 2026-12-04
Bu sayfanın Türkçe çevirisi editör incelemesinde. İngilizce sürüm gösteriliyor.
| Trigger / function | Rule |
|---|---|
| students_require_class | A student must have a class |
| devices_enforce_student | Device must point to a valid student |
| students_sync_device_names | Renaming a student renames their devices |
| classes_sync_homeroom | Class homeroom and teacher homeroom stay in sync |
| canonical_lesson_teacher | Lesson teacher name follows the teacher record |
| unlock_decision_stamp | Approval stamps approver name and decision time |
| attendance_reset_approval | Changing a status clears approval |
| t_*_upd | Maintain updated_at |
| handle_new_user | Creates a profile for each new account |
Bu sayfa yardımcı oldu mu?