summaryrefslogtreecommitdiffstats
path: root/application/migrations/019_change_filesize_type.php
AgeCommit message (Collapse)AuthorFilesLines
2017-07-10Fix chunk update for filesizeshashworks1-1/+2
This includes the where limitation of the update query in the total limit of the chunk for loop.
2017-07-10Update filesizes after changing filesize db typehashworks1-0/+23
This updates all wrong filesizes after db migration 19 (`filesize` type change to `bigint`). It will only update files with a filesize of 2147483647 byte since the database set the max integer value as the filesize if the file was > 2147483647 byte.
2017-07-10Use bigint for filesize in databasehashworks1-0/+27
The current type, integer, only stores numerics up to 2147483647. Since filebin stores the size in byte MySQL will only write up to 2GB in there, PostgreSQL failes by default for files >2GB. The new type bigint allows file sizes up to ~9223 petabyte.