Django Migrations

Django migration patterns and safety workflow for PostHog. Use when creating, adjusting, or reviewing Django/Postgres migrations, including non-blocking index/constraint changes, multi-phase schema changes, data backfills, migration conflict rebasing, and product model moves that require SeparateDatabaseAndState. Also use for any deletion or removal of a model, table, column, product, or app — including deleting migration files or retiring a feature — even when no migration is written.

posthog Updated

File contents

posthog/posthog-foss/tree/main/.agents/skills/django-migrations commit a1e3c40ea5

Frequently asked questions

npx skillmds@latest add posthog/django-migrations-2