sqlite-utils/docs
Simon Willison e1ca938aa1 table.add_foreign_key(column, other_table, other_column)
New mechanism for adding foreign key constraints to an existing SQLite
table.

SQLite ALTER TABLE does not support this out-of-the-box, so I instead
had to write some careful code that uses PRAGMA writable_schema = 1 to
directly modify the sqlite_master table.

Refs #2
2019-02-24 13:10:51 -08:00
..
.gitignore Initial project layout + database table creation tools 2018-07-28 06:46:17 -07:00
changelog.rst Release 0.13 2019-02-23 22:54:43 -08:00
cli.rst 'sqlite-utils add-column name type' command, closes #15 2019-02-24 12:04:33 -08:00
conf.py Bump copyright year 2019-02-22 22:08:14 -08:00
index.rst Re-arranged documentation index page 2019-01-24 21:23:24 -08:00
Makefile Initial project layout + database table creation tools 2018-07-28 06:46:17 -07:00
python-api.rst table.add_foreign_key(column, other_table, other_column) 2019-02-24 13:10:51 -08:00