ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use while deleting a column 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