-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove SQLite foreign key enforcement code #12151
Comments
Note: if we decide not to do this for 3.0, then we should look again at #13054 |
Need to discuss our options...
|
Tentative decision from triage: change to reference a different bundle. This means that there will be a consistent experience across all platforms, but the version already installed on the device may not be used by default. |
@ericsink Any words of caution? We’re planning on switching to SQLitePCLRaw.bundle_e_sqlite3 in 3.0. |
No caution from me. In my experience, using the system SQLite in a cross-platform situation causes nothing but trouble (and, admittedly, smaller binary size). FWIW, if you were to peer into my repo right now, you would see that I have recently made some changes to the way e_sqlite3 builds are done and managed. I moved the builds out into a separate repo and made a number of improvements. This includes an attempted fix for the load_extension problem you were having with the spatial library. And an update to SQLite 3.25.x. This work needs more testing before I release it, and I had to set it aside 2-3 weeks ago to deal with something else, but I expect my schedule flexibility to return soon and allow me to get a new release published in the next couple weeks. |
Switches from bundle_green to bundle_e_sqlite3. This makes iOS and macOS more consistent. Removes PRAGMA foreign_keys code from EF. Foreign keys are enabled by default in e_sqlite3. Add ForeignKeys=True to your connection string if otherwise needed. Fixes #12151
I believe it's enabled by default in e_sqlite3. We should investigate and remove our code in 3.0
The text was updated successfully, but these errors were encountered: