Skip to content

Deploy: avoid locking the table when adding new JSON field #8926

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

Merged
merged 4 commits into from
Feb 16, 2022

Conversation

humitos
Copy link
Member

@humitos humitos commented Feb 15, 2022

This PR reverts 3 commits from #8869 and makes the db fields to be null=True and blank=True to avoid locking the table.

@humitos humitos requested a review from a team as a code owner February 15, 2022 16:51
This avoid taking down db production when running the migration.
@humitos humitos force-pushed the humitos/hotfix/json-field branch from 421d841 to 903dda8 Compare February 15, 2022 16:56
@humitos humitos added PR: hotfix Pull request applied as hotfix to release and removed PR: hotfix Pull request applied as hotfix to release labels Feb 15, 2022
@humitos humitos merged commit 458ae5a into master Feb 16, 2022
@humitos humitos deleted the humitos/hotfix/json-field branch February 16, 2022 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: hotfix Pull request applied as hotfix to release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants