🐛Fix #165 — Now can send large files (>2Gio) while using a DB other than SQLite

This commit is contained in:
Luc Didry 2019-10-14 17:52:00 +02:00
parent 78c212ae88
commit 7402687d0e
No known key found for this signature in database
GPG Key ID: EA868E12D0257E3C
3 changed files with 9 additions and 0 deletions

View File

@ -1,6 +1,7 @@
Revision history for Lufi
?.??.? ????-??-??
- Now can send large files (>2Gio) while using a DB other than SQLite (#165)
0.04.5 2019-10-14
- Update german language

View File

@ -47,3 +47,7 @@ CREATE TABLE IF NOT EXISTS invitations (
);
-- 3 down
DROP TABLE invitations;
-- 4 up
ALTER TABLE files MODIFY filesize bigint;
-- 4 down
ALTER TABLE files MODIFY filesize integer;

View File

@ -50,3 +50,7 @@ CREATE TABLE IF NOT EXISTS invitations (
);
-- 4 down
DROP TABLE invitations;
-- 5 up
ALTER TABLE files ALTER COLUMN filesize TYPE bigint;
-- 5 down
ALTER TABLE files ALTER COLUMN filesize TYPE integer;