From 639a367ed6547f91ea96200176dfff6c4bbd7076 Mon Sep 17 00:00:00 2001 From: Nick Liu Date: Sun, 30 Mar 2025 16:29:11 -0500 Subject: [PATCH] fix(core_sql.php): admin_history: MariaDB does not have the JSON type --- e107_core/sql/core_sql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_core/sql/core_sql.php b/e107_core/sql/core_sql.php index cd3fe5007..1c4067d60 100755 --- a/e107_core/sql/core_sql.php +++ b/e107_core/sql/core_sql.php @@ -217,7 +217,7 @@ history_table varchar(64) NOT NULL default '', history_pid varchar(64) NOT NULL default '', history_record_id int(10) unsigned NOT NULL default '0', history_action enum('delete','restore','update') NOT NULL, -history_data JSON DEFAULT NULL, +history_data LONGTEXT DEFAULT NULL, history_user_id int(10) unsigned NOT NULL default '0', history_datestamp int(10) unsigned NOT NULL default '0', history_restored int(10) unsigned NOT NULL default '0',