- Add "Catatan" field display in consulting order detail page - Add dedicated "Cancelled Order" section with rebooking option - Update status alert to show proper message for cancelled orders - Refactor edge function to focus on calendar cleanup only - Set payment_status to 'failed' when auto-cancelling expired orders 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
14 lines
444 B
SQL
14 lines
444 B
SQL
-- ============================================
|
|
-- Remove pg_cron job (migrating to Coolify-only approach)
|
|
-- ============================================
|
|
-- We're moving all cron jobs to Coolify for single source of truth
|
|
|
|
-- Remove the pg_cron job
|
|
SELECT cron.unschedule('cancel-expired-consulting-orders');
|
|
|
|
-- Verify it's removed
|
|
SELECT jobname, schedule, command
|
|
FROM cron.job
|
|
WHERE jobname LIKE 'cancel-expired%';
|
|
-- Should return 0 rows
|