Files
PAGIVA/prisma/migrations/20261122022445_add_post_publishing_lock/migration.sql
T
chaloemphong 9d32552457 Initial commit: page-manager Next.js app with Coolify deploy support
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>
2026-11-22 11:52:17 +07:00

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);