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!
I have a column
file_sizeon myAttachmentmodel that is abigint. When performing validation, any files that are larger than 2147483648 are failing since the schema validation treats that column as anIntegerinstead 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_sizebut would prefer to keep the fullschema_validationson that model. Thanks!