#22825: DatabaseFeature supports_check_constraints and schema
test_check_constraints
-------------------------------+------------------------
Reporter: maxi | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 1.7-beta-2
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------
DB Backends can define a database feature called
supports_check_constraints, but what does it mean?
Running the schema tests, test_check_constraints skips it if the backend
doesn't supports check constraints, but it seem like is trying to test
column based check constraints. In my case Firebird just support table
based check constraints, so the test_check_constraints fails.
My proposal is to change the supports_check_constraints name to something
more explicit like supports_column_based_check_constraints.
--
Ticket URL: <https://code.djangoproject.com/ticket/22825>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/047.67458bf880854b2fba920d6613963dcd%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.