--
Ticket URL: <https://code.djangoproject.com/ticket/30614>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* owner: nobody => Can Sarıgöl
* status: new => assigned
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/11541 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/30614#comment:1>
Old description:
New description:
Constraints names cannot start with an underscore or a number and cannot
be longer than 30 characters on Oracle. We can restrict them with system
checks for cross-database compatibility.
--
Comment (by felixxm):
After double-thinking I'm not sure if we want this change. First of all it
is backward incompatible and it is not a minor incompatibility.
Constraints have been introduced in Django 2.2 and for all databases
(except Oracle) names starting with an underscore `_` or a digit, or with
a name of length greater than 30 characters are valid (63 characters on
PostgreSQL, 64 on MySQL). I agree that it is a inconsistency between
constraints and indexes policy but still we need to be careful with
introducing incompatibilities.
--
Ticket URL: <https://code.djangoproject.com/ticket/30614#comment:2>
* status: assigned => closed
* resolution: => wontfix
--
Ticket URL: <https://code.djangoproject.com/ticket/30614#comment:3>