hello there, an interesting topic popped up on HN:
Column order in PostgreSQL does matter https://news.ycombinator.com/item?id=32067473 I was wondering how django does this, so I looked at some of the sql generated by migrations in my apps (particularly initial ones) and if I read the SQL correctly django mostly matches column order with the model fields order with the notable exception of foreign key(s). Those being (by default and quite often) fixed width, and it seems that they might benefit from the order described in the articles, I was wondering what was the reason for putting them at the end. -f -- -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/Ys3JwwWAJ3BtX/qo%40obiit.org.