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:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hope-events",
|
||||
"version": "1.48.1",
|
||||
"version": "1.48.2",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"dev:backend": "cd backend && npm run dev",
|
||||
@@ -11,7 +11,12 @@
|
||||
"dev": "concurrently \"npm run dev:backend\" \"npm run dev:frontend\"",
|
||||
"build": "cd frontend && npm run build && cd .. && cd backend && npm run prisma:generate",
|
||||
"test:e2e": "playwright test",
|
||||
"test": "npm --prefix backend test"
|
||||
"test": "npm --prefix backend test",
|
||||
"demo:list": "npm --prefix backend run set-demo -- --list",
|
||||
"demo:small": "npm --prefix backend run set-demo -- --profile=small",
|
||||
"demo:events": "npm --prefix backend run set-demo -- --profile=events",
|
||||
"demo:ministry": "npm --prefix backend run set-demo -- --profile=ministry",
|
||||
"demo:multicampus": "npm --prefix backend run set-demo -- --profile=multicampus"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
|
||||
Reference in New Issue
Block a user