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

Remove is_active column from grafana's user view #266

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

lucyb
Copy link
Collaborator

@lucyb lucyb commented Dec 16, 2024

This column has been removed from Job Server's user table, so it needs to be removed from the corresponding view as well.

I've recreated the view in the database already by running the following in the production database:

CREATE VIEW jobserver_user_grafana AS SELECT id,last_login,username,date_joined,fullname,created_by_id,login_token_expires_at,pat_expires_at,roles FROM jobserver_user;

GRANT SELECT ON jobserver_user_grafana TO grafanareader;

@lucyb lucyb enabled auto-merge December 16, 2024 14:41
This column has been removed from Job Server's user table, so it needs to be
removed from the corresponding view as well.
@lucyb lucyb force-pushed the update-grafana-user-view branch from 4e1f864 to a6f991c Compare December 16, 2024 15:45
@lucyb lucyb merged commit 1f4e4fa into main Dec 16, 2024
9 checks passed
@lucyb lucyb deleted the update-grafana-user-view branch December 16, 2024 21:55
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