-
Notifications
You must be signed in to change notification settings - Fork 0
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
Rename ToolsDB data source #27
Conversation
@vivian-rook thanks for approving! Will you take care of merging & deploying this, or should I do it? This is not urgent by the way, it can wait a few days. |
@vivian-rook I see that T372395 is now resolved, can I try deploying this PR with |
Go for it! |
The current database name is wrong, the real database name is specified in the connection URL and is "information_schema". As discussed in the Phab task, it makes sense to call this data source simply "ToolsDB" and let users select their desired database in their SQL queries. Bug: T367393
Might be hiding somewhere in the database. We could deploy a fresh system, that would probably remove the old entry. |
@vivian-rook do you know why the old name is still showing in the UI, next to the new one? |
Sorry, I posted my comment before reading yours :) |
What's the procedure to deploy a fresh system? tofu destroy? |
For how it would be redeployed, it is poorly described in the README. It follows the same procedure in https://wikitech.wikimedia.org/wiki/PAWS/Admin#Blue_Green_Deployment then the database migrate steps described in the README |
Thanks! The UI issue is now fixed (did it require a full redeploy?), so I think this can be merged. |
No a redeploy was not required. The database only had one dataset so the UI allowed me to remove it after removing the dataset (For some reason the UI won't allow you to remove objects that are integrated. Can get very problematic sometimes) |
The current database name is wrong, the real database name is specified in the connection URL and is "information_schema".
As discussed in the Phab task, it makes sense to call this data source simply "ToolsDB" and let users select their desired database in their SQL queries.
Bug: T367393