openzim / cms

ZIM file Publishing Platform
https://cms.openzim.org
GNU General Public License v3.0
4 stars 0 forks source link

Incorrect column type for size #53

Closed rgaudin closed 2 years ago

rgaudin commented 2 years ago

Book column size is an sqlalchemy.Integer which doesn't fit our bytes ZIM sizes. It should probably be changed to BigInteger.

size=10316940597 results in:

pymysql.err.DataError: (1264, "Out of range value for column 'size' at row 1")