shuxx/laravelmysqlkeyerrorsolver

This package is abandoned and no longer maintained. No replacement package was suggested.

Fix the error [PDOException] SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes

dev-master 2017-08-04 08:19 UTC

This package is not auto-updated.

Last update: 2018-10-25 14:51:29 UTC


README

Installation

Add "shuxx/LaravelMySQLKeyErrorSolver" to your composer.json file to require LaravelMySQLKeyErrorSolver :

    require : {
        "shuxx/LaravelMySQLKeyErrorSolver": "dev-master"
    }

Update Composer :

    composer update

The next required step is to add the service provider to config/app.php :

    Shuxx\LaravelMySQLKeyErrorSolver\LaravelMySQLKeyErrorSolver::class,

Congratulations, you have successfully installed LaravelMySQLKeyErrorSolver !