Django Models

Design Django ORM models for Sentry following architectural conventions for silos, replication, relocation, and foreign keys. Use when adding a new Django model, designing a model for a feature, deciding where data should live, picking a foreign key type, or refactoring an existing model's silo placement. Trigger on "add a Django model", "create a model", "design a model for X", "new database table", "store this data in the DB", "I need to track Y", "model for [feature]". Not for Pydantic models, dataclasses, ML models, or Protobuf — this is specifically for Django ORM models in the Sentry codebase.

tuyv Updated 1 repo stars

File contents

tuyv/ccpm commit 9ce8566ace Runs: tuyv/generate-migrationtuyv/hybrid-cloud-outboxestuyv/hybrid-cloud-rpc

Frequently asked questions

npx get-skill add tuyv/django-models-2