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

MM-58683 Fixing data rention #204

Merged
merged 2 commits into from
Jun 14, 2024
Merged

MM-58683 Fixing data rention #204

merged 2 commits into from
Jun 14, 2024

Conversation

crspeller
Copy link
Member

@crspeller crspeller commented Jun 10, 2024

Description

Fixes data retention bug: https://mattermost.atlassian.net/browse/MM-58683

Recreates LLM_Threads table as LLM_PostMeta to avoid downtime when adding ON DELETE CASCADE to the foreign key to avoid breaking data retention.

@crspeller crspeller changed the title Adding ON DELETE CASCADE to RootPostID on LLM_Threads table for data retention MM-58683 Adding ON DELETE CASCADE to RootPostID on LLM_Threads table for data retention Jun 10, 2024
@crspeller crspeller changed the title MM-58683 Adding ON DELETE CASCADE to RootPostID on LLM_Threads table for data retention MM-58683 Fixing data rention Jun 13, 2024
@crspeller crspeller merged commit 11e90a7 into master Jun 14, 2024
5 checks passed
@crspeller crspeller deleted the mm-58683 branch June 14, 2024 15:52
crspeller added a commit that referenced this pull request Jun 14, 2024
* Adding ON DELETE CASCADE to RootPostID on LLM_Threads table for data retention

* Update to just remove table intead of migrating to avoid downtime
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.

None yet

1 participant