#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'json DEFAULT NULL, code example

Example: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'json DEFAULT NULL COMMENT 'storing the data of before sending to Gateway', `r' at line 14

MariaDB does not natively implement the 'JSON' data type but it uses it as an 
alias for 'LONGTEXT' for compatibility reasons

Tags:

Sql Example