vanilophp / framework

The truly Laravel E-commerce Framework
https://vanilo.io
MIT License
818 stars 102 forks source link

datatype conversion error when migrating #21

Closed ketchank closed 6 years ago

ketchank commented 6 years ago

i've been trying to do

php artisan migrate

but i got this error

image

fulopattila122 commented 6 years ago

Due to the json field type requirement MySQL 5.7 or higher or PostgreSQL is required. MariaDB is not supported.

This requirement comes from Spatie's Media Library

ketchank commented 6 years ago

I did find that article while doing some research on google

As a newbie, What should I do exactly at this point ?

Sorry for disturbing

fulopattila122 commented 6 years ago

Use one of the supported database engines: Either MySQL 5.7 or PostgreSQL.


This is completely out of Vanilo's scope, but I can give you some suggestions.

My guess is that you are either using MySQL 5.5/5.6 or MariaDB.

You have many options, like:

If you haven't used Postgres before, and don't have much experience with databases I would suggest to replace you current MariaDB/MySQL installation with MySQL 5.7.