Changes between Initial Version and Version 1 of Ticket #31351, comment 2


Ignore:
Timestamp:
Mar 11, 2020, 11:40:32 AM (5 years ago)
Author:
Ichlasul Affan

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31351, comment 2

    initial v1  
    99
    1010Firstly, I'm sorry I am new contributor to Django. When I explored further on the code, the warning checks for specific DBMS' ability to check constraints using `connection.features.support_table_check_constraints`. Unfortunately, I think that similiar type of variable would be available on some database connectors for this case (unique constraint with conditions). Would you mind if I just add the warning regardless of what kind of database users will use?
     11
     12UPDATE: Oh nevermind, I can just use support_partial_indexes. The default definitions is actually available via `django.db.backends.base.features`.
Back to Top