feat: add volunteer shift signup app

Initial source, tests, migrations, and local Docker setup for the Hope Food Pantry volunteer scheduler.
This commit is contained in:
blake committed 2026-10-16 09:33:39 -05:00
commit f1a46e2ba7
129 files changed
+25290

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
-- A shared inbox can sign up more than one person on the same shift.
-- The same person, matched by name without regard to case, still takes only one spot.
DROP INDEX signups_one_confirmed_email_per_shift;
CREATE UNIQUE INDEX signups_one_confirmed_person_per_shift
ON signups (shift_id, email_norm, name COLLATE NOCASE)
WHERE status = 'confirmed' AND email_norm IS NOT NULL AND name IS NOT NULL;