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

fix(db): alter commit columns to binary type #7212

Merged
merged 1 commit into from
Apr 8, 2024
Merged

fix(db): alter commit columns to binary type #7212

merged 1 commit into from
Apr 8, 2024

Conversation

duhow
Copy link
Contributor

@duhow duhow commented Mar 25, 2024

Summary

Migration schema for MySQL.

  • commits.message is now CHARACTER SET binary,
  • commit_files.file_path is now VARBINARY.

The reason is to support ASCII-extended characters in both columns.

⚠️ NOTE: Migration for file_path is slow, about 3 minutes for ~1.4 million records.

Does this close any open issues?

Fixes #7203
Fixes #7198

@duhow duhow changed the title db: alter commit columns to binary type fix(db): alter commit columns to binary type Mar 25, 2024
@duhow
Copy link
Contributor Author

duhow commented Apr 4, 2024

@klesh I've updated the commit title to match the lint expected, can you run the workflow again?

@klesh klesh merged commit 8afd199 into apache:main Apr 8, 2024
10 checks passed
@klesh
Copy link
Contributor

klesh commented Apr 8, 2024

@duhow Thanks for your contribution. 😀

@duhow duhow deleted the alter-binary-commits branch April 8, 2024 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants