diff --git a/SQL/mysql.initial.sql b/SQL/mysql.initial.sql index 5b9047a1b..f3b81029c 100644 --- a/SQL/mysql.initial.sql +++ b/SQL/mysql.initial.sql @@ -202,7 +202,7 @@ CREATE TABLE `searches` ( CREATE TABLE `filestore` ( `file_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, - `user_id` int(10) NOT NULL, + `user_id` int(10) UNSIGNED NOT NULL, `filename` varchar(128) NOT NULL, `mtime` int(10) NOT NULL, `data` longtext NOT NULL, diff --git a/SQL/mysql/2018021600.sql b/SQL/mysql/2018021600.sql index 7337f73ed..10098511c 100644 --- a/SQL/mysql/2018021600.sql +++ b/SQL/mysql/2018021600.sql @@ -1,6 +1,6 @@ CREATE TABLE `filestore` ( `file_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, - `user_id` int(10) NOT NULL, + `user_id` int(10) UNSIGNED NOT NULL, `filename` varchar(128) NOT NULL, `mtime` int(10) NOT NULL, `data` longtext NOT NULL,