Open jake-carpenter opened 1 year ago
It looks like this is a symptom of System.Data.SqlClient and arm64 which can be solved by using Microsoft.Data.SqlClient.
I've read the other threads where this was an issue, but I'm wondering if PR #291 addresses some of those issues?
Hi, it is probably because there is no OSX distibution of Evolve.
Oh sorry, you are using the .NET tool. So normally it should be ok. The issue seems to be linked to the SQLite driver. Not the SQL Server one btw
The SQLite driver used by Evolve is only compatible with x86 and x64 platform: https://system.data.sqlite.org/index.html/doc/trunk/www/index.wiki
If you'd use the Evolve lib in your project it should work well btw, because no database driver is included in it
Getting this error even on minimal tests. Is there something I'm missing for running with a M1 Mac?
What I'm doing
./V1__Testing.sql
Instaling Evolve.Tool globally
dotnet tool install evolve.tool -g
Migrate against my database - It is SQL Server - not SQLite
evolve migrate sqlserver -c "Data Source=localhost,5865;Database=master;User Id=sa;Password=Password12#;" -l ./
What's happening
Additional info
I am on an arm64 M1 Macbook Pro with both .net 6.0 and 7.0 sdks
Attempted this with both 3.1.0 and 3.2.0-alpha1.
This minimal repro is tested working on both Windows 10 and an Intel Mac.