File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -1188,8 +1188,6 @@ See :ref:`cli_add_foreign_key`.
1188
1188
1189
1189
sqlite-utils add-foreign-key my.db books author_id authors id
1190
1190
1191
- WARNING: Could corrupt your database! Back up your database file first.
1192
-
1193
1191
Options:
1194
1192
--ignore If foreign key already exists, do nothing
1195
1193
--load-extension TEXT Path to SQLite extension, with optional :entrypoint
Original file line number Diff line number Diff line change @@ -491,8 +491,6 @@ def add_foreign_key(
491
491
Example:
492
492
493
493
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.
496
494
"""
497
495
db = sqlite_utils .Database (path )
498
496
_load_extensions (db , load_extension )
You can’t perform that action at this time.
0 commit comments