Changes between Initial Version and Version 1 of Ticket #8576, comment 10


Ignore:
Timestamp:
May 2, 2024, 9:14:41 PM (6 months ago)
Author:
Csirmaz Bendegúz

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8576, comment 10

    initial v1  
    1 [https://code.djangoproject.com/ticket/373]
     1https://code.djangoproject.com/ticket/373
    22I'm looking to implement composite primary keys like this:
    33
     
    20201. Remove the limitation for databases that support non-primary auto fields altogether. We could allow non-primary key auto fields for PostgreSQL, for example.
    21212. Refactor auto fields so that they are either primary keys OR part of a composite primary key. This addresses my use case, but not the others.
    22 3. Don't use auto fields in composite primary keys. We need an alternative in this case.
     223. Don't use auto fields in composite primary keys. We need an alternative in this case (e.g. https://code.djangoproject.com/ticket/27452).
Back to Top