Skip to content

Commit

Permalink
Link to sqlite-utils-fast-fks from changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Aug 18, 2023
1 parent 98cd11a commit 1260bdc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`)
Expand Down

0 comments on commit 1260bdc

Please sign in to comment.