Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
rules:
- id: add-index-concurrently
metadata:
category: best-practice
technology:
- django
languages:
- python
severity: ERROR
message: Adding an index in migrations should be done concurrently; use
`django.contrib.postgres.operations.AddIndexConcurrently` instead of
`migrations.AddIndex`.
pattern: django.db.migrations.AddIndex(...)