From 99ee00cd27f2e831788bb72dd0eac73e8ea3df2c Mon Sep 17 00:00:00 2001 From: Mitan Omar Date: Sun, 14 Aug 2022 21:37:49 +0200 Subject: [PATCH] 1101:BLOB, TEXT, GEOMETRY or JSON column 'about' can't have a default value --- install/includes/install_sqls.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/install/includes/install_sqls.php b/install/includes/install_sqls.php index d98bd39..0dbe932 100755 --- a/install/includes/install_sqls.php +++ b/install/includes/install_sqls.php @@ -8,14 +8,12 @@ */ // not for directly open -if (! defined('IN_COMMON')) -{ +if (! defined('IN_COMMON')) { exit(); } -if (empty($install_sqls) || ! is_array($install_sqls)) -{ +if (empty($install_sqls) || ! is_array($install_sqls)) { $install_sqls = []; } @@ -100,7 +98,7 @@ CREATE TABLE `{$dbprefix}files` ( `last_down` int(11) unsigned NOT NULL DEFAULT '0', `name` varchar(300) collate utf8_bin NOT NULL DEFAULT '', `real_filename` VARCHAR( 350 ) collate utf8_bin NOT NULL DEFAULT '', - `about` LONGTEXT collate utf8_bin DEFAULT '' , + `about` LONGTEXT collate utf8_bin, `size` bigint(20) unsigned NOT NULL DEFAULT '0', `uploads` int(11) unsigned NOT NULL DEFAULT '0', `time` int(11) unsigned NOT NULL DEFAULT '0',