9d32552457
Replace Vercel-specific infra (Cron, Blob) with self-hosted equivalents for deployment to Coolify: in-container cron scheduler (scripts/cron-runner.mjs) and disk-based upload storage served via /api/uploads/[...path]. Add Dockerfile, .dockerignore, and /api/health for container health checks. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
4 lines
197 B
SQL
4 lines
197 B
SQL
-- Claim lock for publish (manual or cron): set right before calling the Graph
|
|
-- API so a concurrent publish/cron run can't double-post.
|
|
ALTER TABLE "Post" ADD COLUMN "publishingAt" TIMESTAMP(3);
|