Increase OAuth connection URL column lengths to 2048 characters#30
Draft
Copilot wants to merge 3 commits into
Draft
Increase OAuth connection URL column lengths to 2048 characters#30Copilot wants to merge 3 commits into
Copilot wants to merge 3 commits into
Conversation
4 tasks
Agent-Logs-Url: https://github.com/exhuma/powonline/sessions/22a63558-9cf8-432a-bd7a-231e286fa973 Co-authored-by: exhuma <65717+exhuma@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Increase OAuth connection URL column lengths beyond 512 characters
Increase OAuth connection URL column lengths to unbounded TEXT
May 13, 2026
Owner
|
@copilot let's not make that an inbound limit. Set it to 2048 |
Agent-Logs-Url: https://github.com/exhuma/powonline/sessions/8cb94a79-7063-4adb-b3b5-2ab83d3b1c81 Co-authored-by: exhuma <65717+exhuma@users.noreply.github.com>
Contributor
Author
Done — both |
Copilot
AI
changed the title
Increase OAuth connection URL column lengths to unbounded TEXT
Increase OAuth connection URL column lengths to 2048 characters
May 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
OAuth providers (e.g. Google, GitHub) can return
image_urlandprofile_urlvalues exceeding 512 characters, causing truncation or insertion errors against the currentUnicode(512)column constraint.Changes
model.py— Increase the length limit ofprofile_urlandimage_urlonOauthConnectionfrom 512 to 2048:alembic/versions/d3e4f5a6b7c8_expand_oauth_url_columns.py— New migration thatALTER COLUMNs both fields fromVARCHAR(512)toVARCHAR(2048). The existing5be3d628dcc3migration is left untouched to avoid breaking already-applied environments.