1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Fixed #30108 -- Allowed adding foreign key constraints in the same statement that adds a field.

This commit is contained in:
Dan Tao
2019-01-18 22:17:26 -06:00
committed by Tim Graham
parent 9a0cc54524
commit 738faf9da2
9 changed files with 69 additions and 20 deletions

View File

@@ -214,6 +214,10 @@ backends.
* ``DatabaseIntrospection.get_field_type()`` may no longer return tuples.
* If the database can create foreign keys in the same SQL statement that adds a
field, add ``SchemaEditor.sql_create_column_inline_fk`` with the appropriate
SQL; otherwise, set ``DatabaseFeatures.can_create_inline_fk = False``.
Miscellaneous
-------------