Four demo seeds; fix set-demo wiping the admin (1.48.2)

npm run demo:small | demo:events | demo:ministry | demo:multicampus
(demo:list describes them; set-demo -- --profile=<name> in backend/).
New builders: courses with sessions, attendance and certificates, a
pick-your-days conference, kids church with families, rooms and live
check-ins, volunteer rosters, a series with followers and a season
pass, and three campuses with campus-limited staff.

set-demo had failed since 1.43.0: TRUNCATE CASCADE on Campus also
emptied User (homeCampusId), deleting the admin it keeps. Tables that
User points at are now emptied with DELETE.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-28 14:02:56 +02:00
co-authored by Claude Opus 5.5
parent 434784ecbc
commit a4bdbf8412
12 changed files with 678 additions and 39 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "event-management-backend",
"version": "1.48.1",
"version": "1.48.2",
"description": "Event Management System Backend",
"main": "src/index.js",
"scripts": {