←back to thread

60 points Bogdanp | 1 comments | | HN request time: 1.306s | source
1. jihadjihad ◴[] No.44608613[source]
> Django will implicitly add an index on a ForeignKey field unless explicitly stated otherwise.

This is nice to know if you're using Django, but as important to note is that neither Postgres nor SQLAlchemy / Alembic will do this automatically.