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 schema after deleting data source #3894

Merged
merged 2 commits into from
Jun 10, 2019

Conversation

rauchy
Copy link
Contributor

@rauchy rauchy commented Jun 10, 2019

What type of PR is this? (check all applicable)

  • Bug Fix

Description

Related Tickets & Documents

Fixes #3893

Mobile & Desktop Screenshots/Recordings (if there are UI changes)

def _schema_key(self):
return "data_source:schema:{}".format(self.id)

@property
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated to this PR, but the similarity forced me.

@arikfr arikfr merged commit ed2ac40 into master Jun 10, 2019
@arikfr arikfr deleted the remove-schema-after-deleting-data-source branch June 10, 2019 19:39
@arikfr
Copy link
Member

arikfr commented Jun 10, 2019

👍

harveyrendell pushed a commit to pushpay/redash that referenced this pull request Nov 14, 2019
* remove schema from redis after deleting data sources

* switch to _pause_key to property
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.

When deleting a data source, it should remove the cached schema from Redis
2 participants