You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a column file_size on my Attachment model that is a bigint. When performing validation, any files that are larger than 2147483648 are failing since the schema validation treats that column as an Integer instead of using the size range for ActiveRecord::Type::BigInteger.
Are there any known workarounds for this? Currently I have just excluded that column with schema_validations except: :file_size but would prefer to keep the full schema_validations on that model. Thanks!
The text was updated successfully, but these errors were encountered:
I have a column
file_size
on myAttachment
model that is abigint
. When performing validation, any files that are larger than 2147483648 are failing since the schema validation treats that column as anInteger
instead of using the size range forActiveRecord::Type::BigInteger
.Are there any known workarounds for this? Currently I have just excluded that column with
schema_validations except: :file_size
but would prefer to keep the fullschema_validations
on that model. Thanks!The text was updated successfully, but these errors were encountered: