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:
@@ -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
|
||||
-------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user