We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2bcdc0 commit 70717dcCopy full SHA for 70717dc
2 files changed
docs/cli-reference.rst
@@ -1188,8 +1188,6 @@ See :ref:`cli_add_foreign_key`.
1188
1189
sqlite-utils add-foreign-key my.db books author_id authors id
1190
1191
- WARNING: Could corrupt your database! Back up your database file first.
1192
-
1193
Options:
1194
--ignore If foreign key already exists, do nothing
1195
--load-extension TEXT Path to SQLite extension, with optional :entrypoint
sqlite_utils/cli.py
@@ -491,8 +491,6 @@ def add_foreign_key(
491
Example:
492
493
494
495
496
"""
497
db = sqlite_utils.Database(path)
498
_load_extensions(db, load_extension)
0 commit comments