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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user