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

Convert users.profile_picture column to TEXT type #1951

Merged

Conversation

ddelnano
Copy link
Member

@ddelnano ddelnano commented Jun 24, 2024

Summary: Convert users.profile_picture column to TEXT type

My Google account's most recent profile picture's URL contains 1032 characters (link here). This is larger than the 1024 VARCHAR for the users.profile_picture columen. This change converts the column to use a TEXT type to avoid issues with long URLs.

Relevant Issues: N/A

Type of change: /kind bug

Test Plan: Recently deployed cloud no longer fails at login

Signed-off-by: Dom Del Nano <[email protected]>
(cherry picked from commit bc26d6834075391844569821d5e1684eb6faf5a5)
@ddelnano ddelnano requested a review from a team as a code owner June 24, 2024 04:03
@vihangm
Copy link
Member

vihangm commented Jun 24, 2024

I think we should consider just migrating it to type TEXT.

@ddelnano ddelnano changed the title Increase the length of users.profile_picture column Convert users.profile_picture column to TEXT type Jun 24, 2024
@ddelnano ddelnano merged commit 6cae152 into pixie-io:main Jun 24, 2024
25 checks passed
@ddelnano ddelnano deleted the ddelnano/lengthen-profile_picture-column branch June 24, 2024 15:04
ddelnano added a commit to ddelnano/pixie that referenced this pull request Sep 23, 2024
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.

2 participants