Skip to content

Commit 70717dc

Browse files
committed
Remove unneccessary warning, refs #577, #585
1 parent d2bcdc0 commit 70717dc

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

docs/cli-reference.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1188,8 +1188,6 @@ See :ref:`cli_add_foreign_key`.
11881188

11891189
sqlite-utils add-foreign-key my.db books author_id authors id
11901190

1191-
WARNING: Could corrupt your database! Back up your database file first.
1192-
11931191
Options:
11941192
--ignore If foreign key already exists, do nothing
11951193
--load-extension TEXT Path to SQLite extension, with optional :entrypoint

sqlite_utils/cli.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,8 +491,6 @@ def add_foreign_key(
491491
Example:
492492
493493
sqlite-utils add-foreign-key my.db books author_id authors id
494-
495-
WARNING: Could corrupt your database! Back up your database file first.
496494
"""
497495
db = sqlite_utils.Database(path)
498496
_load_extensions(db, load_extension)

0 commit comments

Comments
 (0)