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 cast error for file size calculation #330

Merged
merged 1 commit into from
Apr 28, 2024

Conversation

aaronleopold
Copy link
Collaborator

Files which are >2.35 GB do not fit within i32, which is used for the size field on media. I have added a migration to store media size as an i64, so unless you have a file which is ~9223372036.85 GB you should be good lol

Files which are >2.35GB do not fit within `i32`. I have added a migration to store media size as an `i64`, so unless you have a file which is ~9223372036.85 GB you should be good lol
@aaronleopold aaronleopold force-pushed the al/fix-enormous-file-sizes branch from 96800b1 to 8d5d64c Compare April 28, 2024 19:52
@aaronleopold aaronleopold merged commit 5ac5aec into develop Apr 28, 2024
3 checks passed
@aaronleopold aaronleopold deleted the al/fix-enormous-file-sizes branch April 28, 2024 20:20
@aaronleopold aaronleopold mentioned this pull request May 14, 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.

1 participant