-
-
Notifications
You must be signed in to change notification settings - Fork 4.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
Filter out tables that does not belong to Nextcloud #25882
Conversation
@kesselb What does this in detail mean? Historically it was possible to use a custom database table prefix. I've e.g. set " |
@j-ed updated the pr title ;) Nextcloud 21 the function to read all tables from a database returns all tables in a database. After this patch Nextcloud 21 also filters the database tables like Nextcloud 20. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🐘
fc6b5a2
to
ad001f0
Compare
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
ad001f0
to
bc91eb7
Compare
/backport to stable21 |
Fix #25748
Some people run into
Unknown database type enum requested, Doctrine\\DBAL\\Platforms\\MariaDb1027Platform may not support it.
on upgrade to 21. Yet we are not using enums in Nextcloud. But phpmyadmin does and some have tables by phpMyAdmin in their Nextcloud database.Turns out our filter for the database tables does not work.
How to test:
testtest
in your Nextcloud databaselib/private/DB/Migrator.createSchema