- install.sh: Use tar --strip-components=1 instead of mv for robust extraction when install dir partially exists (root-owned Docker artifacts) - config.sh: Add --non-interactive mode (--domain, --admin-password, --enable-all flags) for CI/CD and automated deployments - docker-entrypoint.sh: Validate critical env vars on startup, fail early with clear messages instead of silent failures - docker-compose.yml: Change Redis eviction policy from allkeys-lru to noeviction (required by BullMQ job queues) - Prisma: Add missing petitions.coverVideoId migration (schema had the column but migration omitted it, causing 500 on public endpoint) - Add scripts/uninstall.sh for clean removal including root-owned files - Add scripts/test-deployment.sh for automated post-install verification Bunker Admin
5 lines
246 B
SQL
5 lines
246 B
SQL
-- AlterTable: Add missing coverVideoId column to petitions table
|
|
-- This column was present in the Prisma schema but omitted from the original
|
|
-- 20260402200000_add_petitions migration.
|
|
ALTER TABLE "petitions" ADD COLUMN "coverVideoId" INTEGER;
|