我正在尝试保存一个代表文件长度的数字(4825733517).该列设置为整数.我没有设置任何验证或限制.
RangeError: 4825733517 is out of range for ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Integer with limit 4
我应该使用其他列类型来获取此值吗?(在轨道4.2.4)
postgresql activerecord ruby-on-rails
activerecord ×1
postgresql ×1
ruby-on-rails ×1