-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
db:sqliteRelated to SQLiteRelated to SQLiteenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
If you want to use foreign keys in SQLite you need to enable them with PRAGMA FOREIGN KEYS = ON;
on every new connection (see Section 2 of https://sqlite.org/foreignkeys.html).
It would be nice if sqlx's Pool
had support for automatically doing this when it establishes a new connection.
samuela
Metadata
Metadata
Assignees
Labels
db:sqliteRelated to SQLiteRelated to SQLiteenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers