Profile model: quick-create + full editable student profile

- /students/new: quick create (name + DOB) -> redirects into the profile
- /students/$id: full editable profile with photo upload, and tabs for
  Profile / Family & pickup (guardians, emergency contacts, pickups) /
  Academics (curriculum logins + records) / Attendance / Tuition / Contracts
- Migration: students.photo_path + private student-photos storage bucket
  (admin write, linked-user read); regenerate types

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-19 16:13:36 -04:00
co-authored by Claude Opus 4.8
parent 9d5b11bb10
commit 48cf441cba
4 changed files with 449 additions and 410 deletions
+3
View File
@@ -572,6 +572,7 @@ export type Database = {
last_name: string
notes: string | null
other_info: string | null
photo_path: string | null
photo_release: boolean
physician_phone: string | null
portfolio_keeper: string | null
@@ -603,6 +604,7 @@ export type Database = {
last_name: string
notes?: string | null
other_info?: string | null
photo_path?: string | null
photo_release?: boolean
physician_phone?: string | null
portfolio_keeper?: string | null
@@ -634,6 +636,7 @@ export type Database = {
last_name?: string
notes?: string | null
other_info?: string | null
photo_path?: string | null
photo_release?: boolean
physician_phone?: string | null
portfolio_keeper?: string | null