Closed frezno closed 5 years ago
Thanks for this PR!
Are you sure that it works properly?
As far as I see in MariaDB json
field type is an alias to longtext
thus I think not all the MySQL/Postgres JSON functions work there.
I prefer to run a test with the mentioned version of MariaDB to see if Spatie Media Library actually works properly with it.
Didn't test out everything yet. Should have done it before PRing, just to make 100% sure.
No problem at all, I'm really happy that you've let me know the fact of MariaDB json fields. If you have no time I'll make a test until mid-week and come back here to discuss.
I ran a test against MariaDB 10.2.19 and it works 👌
Thank you!
cool
The JSON alias was added in MariaDB v10.2.7. https://mariadb.com/kb/en/library/json-data-type/