-
Notifications
You must be signed in to change notification settings - Fork 555
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
Oqtane.Migrations -> Oqtane.Database.Migrations #1356
Conversation
The first commit (Interfaces) I believe will be superceded by my bigger PR which converts database projects to build to installable packages per @sbwalker. |
I revise the new updates? the migrations are still on its own namespace not Database one |
I would prefer to leave the namespaces as is |
Ok, one more thing why there's a dependency on Sqlite on the server projects, are there some changes last few weeks? |
FYI I'm unable to install Oqtane, "Value cannot be null. (Parameter 'type')" show up? |
@hishamco install on which database? You are sure your appsettings.json is in the correct form? There have been a lot of changes to appsettings.json for 2.1 |
I didn't change anything |
The only thing which seems to be missing is: "RenderMode": "ServerPrerendered", |
Same thing, I will try to |
Good question about the SQLite dependency - I will follow up with cnurse. I just tried an install on LocalDB with the latest dev branch and it worked fine. |
Last thing seems the data providers project have been removed, so where can I find the implementation for them? |
There is a Oqtane.Databases.sln which contains all the database projects. The repo contains all of the data providers in the same location as previously. |
Could you please point me to the repo? |
they are in the main repo: https://github.com/oqtane/oqtane.framework you can see the folders for Oqtane.Database.MySQL, Oqtane.Database.PostgreSQL, etc... |
Seems the internet issue causes some git issue the repo still not fetched totally .. thanks a lot |
To answer the question on SQLite... SQLite has "runtimes" dependencies which are not loaded automatically by the AssemblyLoadContext Load methods. This is a known issue see: dotnet/runtime#13015 The simplest solution for this problem was to add a Nuget Package reference to Oqtane.Server to ensure that the dependency graph is correct. The downside is that Sqlite “core” components are always deployed to the /bin whether or not they are actually used - but this is an acceptable compromise in order to enable this database. |
Are other database providers loaded on demand? |
Yes, all database providers are deployed and loaded on demand. |
Strange!! I will have a look to SQLite and see why it can't be loaded |
I am not concerned about this... I am fine releasing 2.1 with this configuration. |
@cnurse just moved
Migrations
to proper namespace which is make sense while the migrations are database related. I tested a new installation after this change to make sure nothing is broken