Revert "initial NextChair Manager."

This reverts commit b219fb4519.
This commit is contained in:
Stefan Lazic committed 2026-09-05 09:32:32 +01:00
1 parent eaa0d2e513
commit e5668b3f23
24 files changed
+11 -596

No files matched your search

+7 -10
View File
@@ -10,17 +10,14 @@
# fresh container is left empty and shows the installation wizard.
set -e
if [ "${MANAGER_MODE:-false}" = "true" ]; then
echo "[entrypoint] Starting in NextChair Manager mode; skipping business database bootstrap."
else
echo "[entrypoint] Applying database migrations..."
npx prisma migrate deploy
echo "[entrypoint] Applying database migrations..."
npx prisma migrate deploy
# Optional — only provisions/syncs a Super Administrator when
# SUPER_ADMIN_EMAIL is set (see scripts/ensure-super-admin.ts).
echo "[entrypoint] Syncing Super Administrator..."
npx tsx scripts/ensure-super-admin.ts
fi
# Optional — only provisions/syncs a Super Administrator when
# SUPER_ADMIN_EMAIL is set (see scripts/ensure-super-admin.ts). Runs after
# migrations so the User.isSuperAdmin column always exists by this point.
echo "[entrypoint] Syncing Super Administrator..."
npx tsx scripts/ensure-super-admin.ts
echo "[entrypoint] Starting application..."
# `exec` + calling the `next` binary directly (not `npm run start`) so