You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: