Giter VIP home page Giter VIP logo

Comments (4)

ifox avatar ifox commented on May 18, 2024 3

You got it right @msurguy, your MySQL version does not support the JSON column type, which was introduced in MySQL 5.7, and is used by Twill.

There's a Gist discussion here about upgrading MAMP's MySQL to 5.7. I did not try it but some users seem to figure it out this way.

You might want to take a look at laravel/valet or laravel/homestead if you are interested in moving away from MAMP.

Thanks again, I'll make sure to update our docs with a more precise requirements section as Twill is not supporting MySQL versions older than 5.7.

from twill.

ifox avatar ifox commented on May 18, 2024 2

Hi @msurguy! Thanks for reporting your issue, we're so glad to see someone already trying Twill!

Since Laravel 5.4, a change was made to the default database character set, and it’s now utf8mb4 which includes support for storing emojis. As long as you are running MySQL v5.7.7 and higher you do not need to do anything.

Since you're running MySQL v5.6.38, you would need to add the following to your AppServiceProvider.php file boot method:

use Illuminate\Support\Facades\Schema;

public function boot()
{
    Schema::defaultStringLength(191);
}

References: Laravel News - Laravel documentation

from twill.

msurguy avatar msurguy commented on May 18, 2024 2

@ifox got it! Thanks for the pointers and suggestions! I'll try this out on Valet probably next week as I'm working hard on grad school and other projects :)

I really am looking forward to getting this to run, was dreaming about building a similar product myself a while ago (kinda like https://carrd.co/) so am very grateful that someone built the whole system and open sourced it!

from twill.

msurguy avatar msurguy commented on May 18, 2024

Thanks @ifox! That helped to get through the first problem!

Now, it complains about some other MySQL error that I suspect to be also coming from MySQL version but not sure...

Thanks for bearing with me through these initial steps!

screen shot 2018-07-05 at 11 41 25 am

from twill.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.