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

Flush cache when reset db #5214

Merged
merged 2 commits into from
Apr 30, 2024
Merged

Flush cache when reset db #5214

merged 2 commits into from
Apr 30, 2024

Conversation

Weiko
Copy link
Member

@Weiko Weiko commented Apr 29, 2024

Now that we have persistent cache for schemas, we want to be able to reset its state when users run the database:reset db otherwise schemas won't be synced with the new DB state.

Note: In an upcoming PR, we want to be able to invalidate the cache on a workspace level when we change the metadata schema through twenty version upgrade

@thomtrp thomtrp merged commit a77cb02 into main Apr 30, 2024
5 checks passed
@thomtrp thomtrp deleted the c--flush-cache-when-reset-db branch April 30, 2024 13:03
arnavsaxena17 pushed a commit to arnavsaxena17/twenty that referenced this pull request Oct 6, 2024
Now that we have persistent cache for schemas, we want to be able to
reset its state when users run the database:reset db otherwise schemas
won't be synced with the new DB state.

Note: In an upcoming PR, we want to be able to invalidate the cache on a
workspace level when we change the metadata schema through twenty
version upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants