I believe constraint names are expected to be generated deterministically.
--
Ticket URL: <https://code.djangoproject.com/ticket/24390>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
Ticket URL: <https://code.djangoproject.com/ticket/24390#comment:1>
Comment (by karolyi):
When fixing this, please look in #24410 too.
--
Ticket URL: <https://code.djangoproject.com/ticket/24390#comment:2>
* needs_better_patch: 0 => 1
* has_patch: 0 => 1
* stage: Unreviewed => Accepted
Comment:
[https://github.com/django/django/pull/4209 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/24390#comment:3>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"f37c11eea3cb860112a26f8a65d823842f65b96f"]:
{{{
#!CommitTicketReference repository=""
revision="f37c11eea3cb860112a26f8a65d823842f65b96f"
Fixed #24390 -- Made migration index names deterministic.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24390#comment:4>
Comment (by Tim Graham <timograham@…>):
In [changeset:"4e8b167e4d0817b6ae93be8ad97b31bf203698d8"]:
{{{
#!CommitTicketReference repository=""
revision="4e8b167e4d0817b6ae93be8ad97b31bf203698d8"
Fixed MySQL build failure introduced by refs #24390.
Added table_name back to _create_index_sql() to prevent
duplicate index names on MySQL.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24390#comment:5>
Comment (by Shai Berger <shai@…>):
In [changeset:"8ca35d7c6a639933927f45b439363a1614da56f1"]:
{{{
#!CommitTicketReference repository=""
revision="8ca35d7c6a639933927f45b439363a1614da56f1"
Fixed Oracle build failure introduced by refs #24390.
Used shorter column names to make the generated index name
fit within Oracle's limit of 30 characters
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24390#comment:6>