Skip to content

chore(db): drop organization.whitelabel_settings and rate_limit_bucket - #10303

Draft
waleedlatif1 wants to merge 1 commit into
stagingfrom
chore/contract-whitelabel-ratelimit
Draft

waleedlatif1 wants to merge 1 commit into
stagingfrom
chore/contract-whitelabel-ratelimit

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Do not merge until v0.9.65 (#10299) is fully live in prod. v0.9.64 still reads and writes both objects, so running this while any v0.9.64 task serves would break those paths. Merging into staging before the release would also put it in the release itself.

Summary

The contract phase for two objects v0.9.65 no longer declares or uses:

Migration 0470 follows the 0409/0468 pattern: COMMIT, lock_timeout = '100ms' for the drops, IF EXISTS, then back to 5s. rate_limit_bucket has no foreign keys in either direction and no secondary indexes (0119, 0326, 0330), so there's no CASCADE.

The CREATE TABLE rate_limit_bucket stubs in the two migration-replay fixtures stay, because replaying 0326 alters that table.

Type of Change

  • Chore (database contract)

Testing

  • A second drizzle-kit generate is a no-op.
  • check:migrations origin/staging passes. Removing either -- migration-safe line makes it fail, so the annotations are load-bearing.
  • check:pending-drop-tables and check:schema-mock pass. apps/sim type-check is clean.

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel

vercel Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated
docs Skipped Skipped Nov 22, 2026 11:05am UTC

Request Review

This branch was previously deployed

1 inactive deployment
Preview — c3bfd9aa Deployed Nov 22, 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