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 / functionRule
students_require_classA student must have a class
devices_enforce_studentDevice must point to a valid student
students_sync_device_namesRenaming a student renames their devices
classes_sync_homeroomClass homeroom and teacher homeroom stay in sync
canonical_lesson_teacherLesson teacher name follows the teacher record
unlock_decision_stampApproval stamps approver name and decision time
attendance_reset_approvalChanging a status clears approval
t_*_updMaintain updated_at
handle_new_userCreates a profile for each new account
Bu sayfa yardımcı oldu mu?