Skip to content

db: guard cleanup_old_tracking_data in RPC hardening migration - #171

Merged
snackman merged 1 commit into
masterfrom
fix/migration-guards
Sep 30, 2026
Merged

snackman merged 1 commit into
masterfrom
fix/migration-guards

Conversation

@snackman

Copy link
Copy Markdown
Owner

The cleanup_old_tracking_data() function doesn't exist in production, so section 3 of 20260929120000_harden_aggregation_rpcs.sql would fail. Wrapped it in an existence check. This version was applied to production (in a transaction) and recorded in migration history, together with 20260502120000_event_submissions.

🤖 Generated with Claude Code

Applied to production 2026-09-29 along with 20260502120000_event_submissions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sheeets Ready Ready Preview Sep 30, 2026 12:12am UTC

Request Review

@snackman
snackman merged commit f9e40b8 into master Sep 30, 2026
3 checks passed
@snackman
snackman deleted the fix/migration-guards branch September 30, 2026 00:12

This branch was successfully deployed

1 active deployment
Preview — 9f2233b4 Deployed Sep 30, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant