mirror of
https://github.com/kleeja-official/kleeja.git
synced 2025-12-15 20:49:41 +01:00
1101:BLOB, TEXT, GEOMETRY or JSON column 'about' can't have a default value
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user