diff options
| author | Dan Tao <daniel.tao@gmail.com> | 2019-01-18 22:17:26 -0600 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2019-01-29 15:42:57 -0500 |
| commit | 738faf9da2a5cd03148a36375db80746c99c9623 (patch) | |
| tree | f6b31d0e5c571693f772fe07ef224ebf5a217a98 /docs | |
| parent | 9a0cc54524422dbdd9213e83a8ad7e8a4c13bd3e (diff) | |
Fixed #30108 -- Allowed adding foreign key constraints in the same statement that adds a field.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/3.0.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/3.0.txt b/docs/releases/3.0.txt index bf5733ed52..0ebbb7518f 100644 --- a/docs/releases/3.0.txt +++ b/docs/releases/3.0.txt @@ -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 ------------- |
