#33652: migrations: skip insertion of exclusion constraints when not using postgres
-------------------------------------+-------------------------------------
Reporter: hottwaj | Owner: nobody
Type: New | Status: new
feature |
Component: Database | Version: dev
layer (models, ORM) | Keywords: postgres exclusion
Severity: Normal | constraint
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Exclusion constraints are only supported by postgres, and using them with
e.g. a sqlite backend causes an exception during migrations when django
attempts to insert them into the DB.
Could exclusion constraints be skipped when migrations are run for non-
postgres backends instead? Perhaps with a warning that they are being
skipped?
This would help in situations where multiple backends are used for
testing/prototyping purposes
--
Ticket URL: <https://code.djangoproject.com/ticket/33652>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.