All skills
django-migrations
Write or review a safe PostHog Django migration, including non-blocking index changes, backfills, and model or column retirement.
- Part of PostHog/posthog
- 252 installs
- Developer Tools · Backend
When to use it
You have a schema change drafted or a model to retire and need to know whether it is safe to deploy without locking hot tables or breaking running pods.
For example
You say
Use django-migrations to add a nullable status column to the Team model and a new index on it.
You get
- Team extension model migration
- SafeAddIndexConcurrently migration
- Hot-table acknowledgment note
How it works
- Hot tables like posthog_team need an extension model or a CI acknowledgment before any ALTER.
- Retiring a column means hiding it from the ORM first and dropping it in a later migration.
- Data migrations require row counts in US and EU before choosing a backfill design.
More Backend skills
See all- lark-shared497kHandles Lark CLI login, identity, permissions and authorization status.
- lark-event489kStreams Lark real-time events like messages, approvals and meetings for bots and subscribers.
- golang-pro19.8kWrites concurrent Go services with goroutines, channels, gRPC or REST, and profiles performance.
- php-pro16.4kBuilds modern PHP applications with strict typing, Laravel or Symfony, tests and REST or GraphQL APIs.
Also in this pack
- react-doctor511Diagnoses and fixes React codebase health issues, including performance problems, security gaps and code quality.
- hogli267Explains the PostHog developer CLI and repo tooling for running, building, testing, and linting.
- clickhouse-migrations266Writes and modifies ClickHouse database migrations following project rules.
- survey-sdk-audit255Audits survey SDK features and version requirements, then implements survey changes across backend, UI, and SDKs.