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>
23 lines
775 B
SQL
23 lines
775 B
SQL
-- 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");
|