Hub 2.26.0: the Church App, demo scenarios and devotionals

The App installs from New install on app.<address>, with Accounts 1.9.0
first, and is in every product list and filter (installs, Updates).
Every product has demo data; a demo client loads a whole demo scenario
in one seed-scenario job (agent 1.7.0), and installs show whether they
are out of step with it. The Website's and App's .env from the Hub.

Devotionals: written or imported from CSV up to 3 months ahead in the
free translations (KJV, BSB), and GET /api/v2/devotionals for App
licences. An alert when an App's active-member band is above its tier.

Contracts 1.23.0 vendored. Migration 20261130120000_app_scenarios_devotionals.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-30 22:24:28 +02:00
co-authored by Claude Opus 5.5
parent 9b551bf9ed
commit 16f69afa6f
34 changed files with 1395 additions and 62 deletions
@@ -0,0 +1,22 @@
-- Hub 2.26.0: demo scenarios (APP-1.0-PLAN §12) and Cross Code's devotionals (§6).
ALTER TABLE "Customer" ADD COLUMN "demoScenario" TEXT;
ALTER TABLE "Customer" ADD COLUMN "demoScenarioAt" TIMESTAMP(3);
ALTER TABLE "Customer" ADD COLUMN "demoScenarioJobId" TEXT;
ALTER TABLE "Deployment" ADD COLUMN "demoScenario" TEXT;
CREATE TABLE "Devotional" (
"id" TEXT NOT NULL,
"date" TEXT NOT NULL,
"title" TEXT NOT NULL,
"passage" JSONB NOT NULL,
"body" TEXT NOT NULL,
"prayer" TEXT,
"author" TEXT,
"createdById" TEXT,
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" TIMESTAMP(3) NOT NULL,
CONSTRAINT "Devotional_pkey" PRIMARY KEY ("id")
);
CREATE UNIQUE INDEX "Devotional_date_key" ON "Devotional"("date");