-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Update to SQLitePCL.raw 1.1.12 #14212
Comments
Looks like we forgot to update the submodule for 2.1 so this didn't actually ship in 2.1.8. Moving it to the 2.2.2 milestone. The 2.1 branch has this change, so it should ship whenever we patch 2.1 again. |
Hi @bricelam , Because I'm using EFCore 2.2.3 with Microsoft.EntityFrameworkCore.Sqlite 2.2.3, and when I create my database, and query it with 'select sqlite_version()', in SQLite Studio, I have "3.20.1" version. So, I can't use RENAME COLUMN. |
Have you installed the corresponding version (to 2.2.2) of the .NET Core SDK? ASP.NET Core projects can do weird things when versions aren’t aligned. |
It that your app executing the query or another tool? Each tool brings its own version of SQLite. |
I'm using SQLite Studio to make this query. If you're right, I'm really sorry, but I don't understand why a query 'select sqlite_version();' executed on SQLiteStudio can returns me a internal SQLite version. So, do you know how to know the SQLite database version ? |
In your app, check the value of |
Are you using |
SQLite is an in-process database. Each process starts it's own version of the SQLite server to read and write to database files. |
I'm using |
Can you submit a new issue so we can investigate further? |
When I execute this on UWP projet, I have 3.20.1 version too. Thank you |
Sorry, it was my fault, I removed and cleaned all my nuget dependencies, and I think I had a mix between EFCore dependencies and other nuget which use also SQLite. Thank you |
Guys, I am using Microsoft.EntityFrameworkCore.Sqlite 2.2.3 and I am getting "SQLite Error 1: 'near "COLUMN": syntax error'." when Migrate() method is executed from my App.cs in Xamarin.Forms.
My Migration should rename column name:
Executing new SqliteConnection().ServerVersion returns 3.24.0 ? Why it is not 3.26.0 ? |
We got to the bottom of why this hasn't made into 2.1. PR #15369 should put it in version 2.1.11. |
Hi, I finally found why I had 3.20.1 SQLite version. So, When I added SQLitePCLRaw.bundle_sqlcipher As you say @bricelam here. And, only when I have these dependencies in my project, the SQLite versioncreated is 3.20.1. If I remove SQLitePCLRaw.bundle_sqlcipher, the SQLite version is 3.26.0. I don't understand why because it is specified here that the SQLite version should be 3.26.0 Do you have an idea of what's happening ? |
@Tristan-gu If you're sure the version in SQLitePCLRaw.bundle_sqlcipher is wrong, you can file an issue on ericsink/SQLitePCL.raw |
@Tristan-gu Looks like this is a known issue: ericsink/SQLitePCL.raw#244 |
Thank you very much for your help, I will wait for a new SQLitePCLRaw.bundle_sqlcipher version. |
This finally shipped today in version 2.1.11. (Note, it first shipped in version 2.2.2 four months ago.) |
What does this mean for the EF Core community waiting on SQLite version 3.25.0? How does one obtain SQLite version 3.25.0, what nuget packages added/updated? The newest SQLite nuget package is 3.13.0, and I have Microsoft.EntityFrameworkCore.Sqlite 2.1.11 Trying to apply the patch for the issue: "SQLite does not support this migration operation ('RenameColumnOperation'). For more information, see http://go.microsoft.com/fwlink/?LinkId=723262." I also followed the instructions here, and downloaded and added the sqlite3.dll: #13341 (comment) But, got the error: |
A new version of SQLitePCL.raw is available which includes SQLite version 3.26.0.
Some highlights:
The text was updated successfully, but these errors were encountered: