I'm not sure if this is a bug of a documentation issue, but if I create a json ("JSON (stored as raw JSON in database)") field the table column is created as "longtext" in MariaDB. Shouldn't it be created as "json"?
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | json_field-n3314495-6.patch | 3.7 KB | damienmckenna |
Comments
Comment #2
damienmckennaLooking at the MariaDB blog it seems that MariaDB uses LONGTEXT fields for storing the data; I'll have to test it with MySQL directly to confirm the behavior and then document it to avoid confusion.
Comment #3
damienmckennaFrom alexpott: https://mariadb.com/kb/en/json-data-type/
Comment #5
damienmckennaThis needs some clarification in the UI.
Comment #6
damienmckennaSome changes to the UI and documentation improvements.
Comment #7
damienmckennaCommitted.