Change size field type in the database tables

Support sizes greater than 2 GiB