From 738faf9da2a5cd03148a36375db80746c99c9623 Mon Sep 17 00:00:00 2001 From: Dan Tao Date: Fri, 18 Jan 2019 22:17:26 -0600 Subject: Fixed #30108 -- Allowed adding foreign key constraints in the same statement that adds a field. --- docs/releases/3.0.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') 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 ------------- -- cgit v1.3