Sentry Django Migrations

•
43k
•

Automates the generation and management of Django database migrations for Sentry's specialized architecture.

This skill equips Claude with the specific commands and safety protocols required to manage Django database migrations within the Sentry repository. It streamlines the process of adding or removing columns, creating indexes for high-traffic tables, and resolving complex migration merge conflicts using Sentry's internal tooling. By enforcing best practices like using db_default and SafeRemoveField, it ensures that schema changes are performed safely without risking production downtime or compromising data integrity.

主な機能

01Automatic resolution of migrations_lockfile.txt conflicts using specialized scripts
0242,969 GitHub stars
03Automated migration generation for specific or global Sentry apps
04Optimized index creation strategies for large tables to prevent deployment timeouts
05Safe deletion workflows for columns and tables using SafeRemoveField patterns
06Enforcement of Sentry-specific database guidelines like db_default usage

ユースケース

01Fixing migration branch conflicts in a collaborative environment using the update-migration utility
02Adding new models or fields to existing Sentry apps with proper SQL verification
03Modifying database schemas while adhering to Sentry's zero-downtime migration standards