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 0886e2d 13.8 KB Updated

File contents

posthog/posthog/tree/main/.agents/skills/django-migrations commit 0886e2df8b

Frequently asked questions

npx skillmds add posthog-posthog/django-migrations