1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Refs #32674 -- Noted that auto-created through table PKs cannot be automatically migrated.

This commit is contained in:
Carlton Gibson
2021-04-29 10:59:14 +02:00
parent baba733dcc
commit 907d3a7ff4
2 changed files with 30 additions and 0 deletions

View File

@@ -95,6 +95,11 @@ or on a per-model basis::
In anticipation of the changing default, a system check will provide a warning
if you do not have an explicit setting for :setting:`DEFAULT_AUTO_FIELD`.
When changing the value of :setting:`DEFAULT_AUTO_FIELD`, migrations for the
primary key of existing auto-created through tables cannot be generated
currently. See the :setting:`DEFAULT_AUTO_FIELD` docs for details on migrating
such tables.
.. _new_functional_indexes:
Functional indexes