Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(stub): Enable foreign key support in SQLite config
SQLite does not enforce foreign key constraints on cascade deletes / updates by default, this can be turned on with the PRAGMA foreign_keys=true command, but that must be run each time a database connection is established. This changes the default SQLite connection to enable foreign key support so that .onDelete() and .onUpdate methods work as expected
- Loading branch information