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

Specify number column types (Fixes #316) #317

Merged
merged 1 commit into from
Jan 24, 2023

Conversation

ArekSredzki
Copy link
Owner

WaterlineJS defaults to using floating point field types for number fields. The causes precision issues for file sizes since the reported file sizes do not match the assets. This would also prevent the download count tracking to work once the count is high enough such that one download is beyond the supported precision.

Note: users must update their existing database schemas to avoid these issues.

WaterlineJS defaults to using floating point field types for number
fields. The causes precision issues for file sizes since the reported
file sizes do not match the assets. This would also prevent the download
count tracking to work once the count is high enough such that one
download is beyond the supported precision.

Note: users must update their existing database schemas to avoid these
issues.
@ArekSredzki ArekSredzki self-assigned this Jan 24, 2023
@ArekSredzki ArekSredzki merged commit 006aaee into master Jan 24, 2023
@ArekSredzki ArekSredzki deleted the hotfix/specify-number-column-types branch January 24, 2023 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant