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

Don't skip orgs #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Don't skip orgs #6

wants to merge 1 commit into from

Conversation

qhartman
Copy link
Contributor

@qhartman qhartman commented Feb 6, 2019

It looks like you're explicitly removing the org and plugin_setting tables and preventing them from being migrated. Why? The org seems to contain important data in most cases. Removing this rm should fix #2.

I'm imagining some default org stuff might be setup as part of the migrations when grafana starts. If that's the case, it seems that the best solution would be to change the insert for the org item with id 1 to be an update. I can work on that if you agree.

It looks like you're explicitly removing the org and plugin_setting stables and preventing them from being migrated. Why? The org seems to contain important data in most cases. Removing this rm  should fix haron#2. 

I'm imagining some default org stuff might be setup as part of the migrations when grafana starts. If that's the case, it seems that the best solution would be to change the insert for the org item with id 1 to be an update. I can work on that if you agree.
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.

Only the default Grafana org gets migrated
1 participant