1
0
mirror of https://github.com/django/django.git synced 2025-04-15 04:44:37 +00:00

[5.0.x] Fixed #35156 -- Removed outdated note about not supporting foreign keys by SQLite.

Backport of b3dc80682e678b20c89fb2a430c0bc77960a29ac from main
This commit is contained in:
Ben Cail 2024-01-31 10:27:33 -05:00 committed by Mariusz Felisiak
parent 7453d6a807
commit d28c61b777

View File

@ -740,14 +740,14 @@ primary key of the related object is valid. If the primary key is
stored on a separate database, it's not possible to easily evaluate
the validity of a primary key.
If you're using Postgres, Oracle, or MySQL with InnoDB, this is
If you're using Postgres, SQLite, Oracle, or MySQL with InnoDB, this is
enforced at the database integrity level -- database level key
constraints prevent the creation of relations that can't be validated.
However, if you're using SQLite or MySQL with MyISAM tables, there is
no enforced referential integrity; as a result, you may be able to
'fake' cross database foreign keys. However, this configuration is not
officially supported by Django.
However, if you're using MySQL with MyISAM tables, there is no enforced
referential integrity; as a result, you may be able to 'fake' cross database
foreign keys. However, this configuration is not officially supported by
Django.
.. _contrib_app_multiple_databases: