1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 13:17:24 +02:00

fix(core_sql.php): admin_history: MariaDB does not have the JSON type

This commit is contained in:
Nick Liu
2025-03-30 16:29:11 -05:00
parent a521f6a2cd
commit 639a367ed6

View File

@@ -217,7 +217,7 @@ history_table varchar(64) NOT NULL default '',
history_pid varchar(64) NOT NULL default '', history_pid varchar(64) NOT NULL default '',
history_record_id int(10) unsigned NOT NULL default '0', history_record_id int(10) unsigned NOT NULL default '0',
history_action enum('delete','restore','update') NOT NULL, 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_user_id int(10) unsigned NOT NULL default '0',
history_datestamp 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', history_restored int(10) unsigned NOT NULL default '0',