3 ms·
In case of Django, the RunSQL command [1] in migrations makes it very easy to use partial indexes. There are a couple of examples on Stackoverflow. Definitely a
by chdir 12y ago
In case of Django, the RunSQL command [1] in migrations makes it very easy to use partial indexes. There are a couple of examples on Stackoverflow. Definitely a low hanging fruit and worth those 10-20 minutes to setup.
[1] https://docs.djangoproject.com/en/dev/ref/migration-operations/#runsql https://docs.djangoproject.com/en/dev/ref/migration-operatio...