mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-08-01 06:54:22 +02:00
Link to sqlite-utils-fast-fks from changelog
This commit is contained in:
parent
98cd11a81b
commit
1260bdc7bf
1 changed files with 2 additions and 0 deletions
|
|
@ -13,6 +13,8 @@ Adding foreign keys to a table no longer uses ``PRAGMA writable_schema = 1`` to
|
|||
|
||||
This new mechanism creates a full copy of the table, so it is likely to be significantly slower for large tables, but will no longer trigger ``table sqlite_master may not be modified`` errors on platforms that do not support ``PRAGMA writable_schema = 1``.
|
||||
|
||||
A new plugin, `sqlite-utils-fast-fks <https://github.com/simonw/sqlite-utils-fast-fks>`__, is now available for developers who still want to use that faster but riskier implementation.
|
||||
|
||||
Other changes:
|
||||
|
||||
- The :ref:`table.transform() method <python_api_transform>` has two new parameters: ``foreign_keys=`` allows you to replace the foreign key constraints defined on a table, and ``add_foreign_keys=`` lets you specify new foreign keys to add. These complement the existing ``drop_foreign_keys=`` parameter. (:issue:`577`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue