mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #22863: Improve clarity of makemigrations for non-db params
This commit is contained in:
parent
d862fae5bb
commit
9f4852f649
2 changed files with 7 additions and 1 deletions
|
@ -60,6 +60,12 @@ Migrations will run the same way on the same dataset and produce consistent
|
|||
results, meaning that what you see in development and staging is, under the
|
||||
same circumstances, exactly what will happen in production.
|
||||
|
||||
Django will make migrations for any change to your models or fields - even
|
||||
options that don't affect the database - as the only way it can reconstruct
|
||||
a field correctly is to have all the changes in the history, and you might
|
||||
need those options in some data migrations later on (for example, if you've
|
||||
set custom validators).
|
||||
|
||||
Backend Support
|
||||
---------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue