-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Keep yessql.db
as the fallback name for sqlite for backward compatability
#15154
Comments
I mentioned that in the breaking changes section, hope this https://github.com/OrchardCMS/OrchardCore/blob/main/src/docs/releases/1.9.0.md#data-access should fix the issue |
Let me check .. |
This is already done |
@hishamco I don't think so. Where do you store that value when a new tenant is setup? This should be done in the SetupService. You'll need somethis like
on line 162. Look where I think you'll need to remove the default value from |
You can create a new tenant :) |
@hishamco I just did as you can see the databasename is not written to the Shellsettings of the tenants. |
Ya, even before the my PR, please refer to the related PR |
correct. So what I am suggestion is that for new tenants, you shoud write entry in that file "DatabaseName": "orchardcore.db". If that property exists, then we use the name listed in the settings, otherwise, we use |
yessql.db
as the fallback name for sqllite for backward compatabilityyessql.db
as the fallback name for sqlite for backward compatability
The original change was reverted in ea5ada3 so this is not applicable anymore. |
@hishamco PR #7446 introduced a breaking change. All of my local tenants that use Sqlite are failing because they are expecting a file called
yessql.db
and not the app is looking forOrchardCore.db
.Here is what we should do. When creating new sites that use Sqllite, save
"DatabaseName": "OrchardCore.db",
to the shellSettings. If the shell-settings does not haveDatabaseName
value, then useyessql.db
. This way we keep it backward compatible and only change it for new tenants. Ping me when you get this fixThe text was updated successfully, but these errors were encountered: