Skip to content

Change github ids to bigint #599

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 1 commit into from
May 2, 2025
Merged

Change github ids to bigint #599

merged 1 commit into from
May 2, 2025

Conversation

gonzaM
Copy link
Contributor

@gonzaM gonzaM commented Apr 30, 2025

Change GitHub IDs to bigint

Problem

GitHub IDs can sometimes exceed the maximum value that can be stored in a 32-bit integer. This caused integer overflow errors when attempting to store large GitHub IDs in our database.

Screenshot 2025-04-30 at 5 17 28 PM

Changes

  • Changed github_id column type from integer to bigint in:
    • events_pull_request_comments
    • events_review_comments
    • events_reviews
    • repositories

@gonzaM gonzaM requested a review from a team as a code owner April 30, 2025 20:21
@gonzaM gonzaM requested review from lauperalti, brunoparma88, rodrieiz and santib and removed request for a team, lauperalti and brunoparma88 April 30, 2025 20:21
@gonzaM gonzaM merged commit f120bd5 into develop May 2, 2025
2 of 3 checks passed
@gonzaM gonzaM deleted the change_github_id_type branch May 2, 2025 14:24
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