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

data: we have sites with many tenants in production #104

Open
shadinaif opened this issue Oct 21, 2024 · 0 comments
Open

data: we have sites with many tenants in production #104

shadinaif opened this issue Oct 21, 2024 · 0 comments
Assignees

Comments

@shadinaif
Copy link
Collaborator

SELECT JSON_UNQUOTE(ett.lms_configs->"$.LMS_BASE")
from edxapp.eox_tenant_tenantconfig ett inner join edxapp.eox_tenant_route etr on
	JSON_UNQUOTE(ett.lms_configs->"$.LMS_BASE") = etr.`domain`
group by JSON_UNQUOTE(ett.lms_configs->"$.LMS_BASE")
having count(JSON_UNQUOTE(ett.lms_configs->"$.LMS_BASE")) > 1

after this is fixed, we can fix the logic inside get_all_tenants_info and the get_fx_dashboard_url

related to Omar's comments on #102

@shadinaif shadinaif self-assigned this Oct 21, 2024
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

No branches or pull requests

1 participant