Skip to content
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

[TASK] Delete records not in a site language #120

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

schliesser
Copy link
Contributor

This check deletes all records that have a sys_language_uid not matching the configured languages in the corresponding site configuration.

Issue #119

@lolli42
Copy link
Owner

lolli42 commented Feb 15, 2025

Hey.
Thank you!
At first, I'm not a huge fan of adding the site API as dependency to dbdoctor.
But I have to admit we should have a check like this, so there is probably no way around the dependency.
My current rough plan is like this: have a last 0.x release, then kickstart a 1.0 that has v12&v13 support only.
A check like this could go to a 1.1.
I would love to see if you continue to work on the change: We'll need proper coverage with tests that set up some sites. The core has examples on how this can be done relatively easily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants